arch/powerpc/net/bpf_jit_comp.c:550 bpf_jit_supports_fsession() warn: signedness bug returning '(-95)'
Dan Carpenter
build botBCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Abhishek Dubey <[email protected]>
CC: Madhavan Srinivasan <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8ba098e6b6ff0db8edf28528d1552be261af30d4 commit: 92258b5bf1ec10204c23a793793a65dc92d17014 powerpc32/bpf: Add fsession support date: 4 months ago
:::::: branch date: 25 hours ago
:::::: commit date: 4 months ago
config: powerpc-randconfig-r073-20260801 (https://download.01.org/0day-ci/archive/20260801/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 8.5.0
smatch: v0.5.0-9187-g5189e3fb
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: 92258b5bf1ec ("powerpc32/bpf: Add fsession support")
| Reported-by: kernel test robot <[email protected]>
| Reported-by: Dan Carpenter <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/smatch warnings:arch/powerpc/net/bpf_jit_comp.c:550 bpf_jit_supports_fsession() warn: signedness bug returning '(-95)'
vim +550 arch/powerpc/net/bpf_jit_comp.c
156d985123b6d6 Abhishek Dubey 2026-04-01 542
6fab063bd8d64f Abhishek Dubey 2026-04-01 543 bool bpf_jit_supports_fsession(void)
6fab063bd8d64f Abhishek Dubey 2026-04-01 544 {
92258b5bf1ec10 Abhishek Dubey 2026-04-01 545 /*
92258b5bf1ec10 Abhishek Dubey 2026-04-01 546 * TODO: Remove after validating support
92258b5bf1ec10 Abhishek Dubey 2026-04-01 547 * for fsession and trampoline on ppc32.
92258b5bf1ec10 Abhishek Dubey 2026-04-01 548 */
92258b5bf1ec10 Abhishek Dubey 2026-04-01 549 if (IS_ENABLED(CONFIG_PPC32))
92258b5bf1ec10 Abhishek Dubey 2026-04-01 @550 return -EOPNOTSUPP;
92258b5bf1ec10 Abhishek Dubey 2026-04-01 551 return true;
6fab063bd8d64f Abhishek Dubey 2026-04-01 552 }6fab063bd8d64f Abhishek Dubey 2026-04-01 553
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki