Re: WARNING: CPU: 27 PID: 7051 at lib/math/int_log.c:63 intlog2+0xaa/0xe0 at running int_log_kunit test (v6.15-rc1)
From: Peter Zijlstra
Date: Wed Jan 07 2026 - 17:02:09 EST
On Wed, Jan 07, 2026 at 12:35:10PM -0800, Kees Cook wrote:
> It seems like we have another case of needed to silence warnings under
> kunit[1]. Alessandro and Peter, where does the linked series stand
> currently?
Well, x86 and s390 now have BUG_FORMAT support and can do all of
WARN*() in __report_bug().
I'm thinking 'someone' wants to get ARM64 and Power implemented too to
cover all the 'big' architectures.
This in turn would enable those suppress-a-warn hacks to live in a
single place and not mess up code-gen.