[PATCH] bug: Use normal relative pointers in 'struct bug_entry'

Peter Zijlstra peterz at infradead.org
Fri May 6 00:45:03 PDT 2022


On Thu, May 05, 2022 at 06:09:45PM -0700, Josh Poimboeuf wrote:
> With CONFIG_GENERIC_BUG_RELATIVE_POINTERS, the addr/file relative
> pointers are calculated weirdly: based on the beginning of the bug_entry
> struct address, rather than their respective pointer addresses.
> 
> Make the relative pointers less surprising to both humans and tools by
> calculating them the normal way.
> 
> Signed-off-by: Josh Poimboeuf <jpoimboe at kernel.org>

Acked-by: Peter Zijlstra (Intel) <peterz at infradead.org>



More information about the linux-arm-kernel mailing list