diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-03-03 10:21:47 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-03-03 10:54:11 +0100 |
commit | 73e8079be9e7ae5ed197d074e0ba6c43674c52f7 (patch) | |
tree | 0cc3f337f5b8affbe4ccd0bc53eab19b6d0899f0 /net/unix/af_unix.c | |
parent | dfebe7362f6f461d771cdb9ac2c5172a4721f064 (diff) |
x86/ibt: Make cfi_bhi a constant for FINEIBT_BHI=n
Robot yielded a .config that tripped:
vmlinux.o: warning: objtool: do_jit+0x276: relocation to !ENDBR: .noinstr.text+0x6a60
This is the result of using __bhi_args[1] in unreachable code; make
sure the compiler is able to determine this is unreachable and trigger
DCE.
Closes: https://lore.kernel.org/oe-kbuild-all/202503030704.H9KFysNS-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250303094911.GL5880@noisy.programming.kicks-ass.net
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions