lib/refcount.o: warning: objtool: refcount_warn_saturate+0xa8: unreachable instruction
kernel test robot
build bot::::::
:::::: Manual check reason: "loongarch: unreachable instruction" ::::::
BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Jann Horn <[email protected]>
CC: Peter Zijlstra <[email protected]>
Hi Jann,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2dc60bd9975fc8666a13d58410499e06e6799ba9 commit: 5b5224220747029bbaee8ab851cc6c599c48eded refcount: Use CONFIG_BUG_ON_DATA_CORRUPTION for UAF-related errors date: 7 weeks ago
:::::: branch date: 5 hours ago
:::::: commit date: 7 weeks ago
config: loongarch-randconfig-r2301-20261121 (https://download.01.org/0day-ci/archive/20261122/[email protected]/config)
compiler: loongarch64-linux-gcc (GCC) 13.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Fixes: 5b5224220747 ("refcount: Use CONFIG_BUG_ON_DATA_CORRUPTION for UAF-related errors")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/All warnings (new ones prefixed by >>):
Assembler messages:
{standard input}:57: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift! {standard input}:139: Warning: Right shift of negative numbers may be changed from arithmetic right shift to logical right shift!
>> lib/refcount.o: warning: objtool: refcount_warn_saturate+0xa8: unreachable instruction
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki