public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [linuxppc:next-test 41/45] arch/powerpc/net/bpf_jit_comp32.c:153:7: error: call to undeclared function 'PPC_RAW_LI32'; ISO C99 and later do not support implicit function declarations
@ 2026-04-07  3:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-07  3:49 UTC (permalink / raw)
  To: Abhishek Dubey; +Cc: llvm, oe-kbuild-all, Madhavan Srinivasan

tree:   https://github.com/linuxppc/linux next-test
head:   e1f7a0e196e293c223a882788c6d1a884d06d6d8
commit: 92258b5bf1ec10204c23a793793a65dc92d17014 [41/45] powerpc32/bpf: Add fsession support
config: powerpc-randconfig-001-20260403 (https://download.01.org/0day-ci/archive/20260404/202604040005.1ocss28U-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project c80443cd37b2e2788cba67ffa180a6331e5f0791)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260404/202604040005.1ocss28U-lkp@intel.com/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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604040005.1ocss28U-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/powerpc/net/bpf_jit_comp32.c:153:7: error: call to undeclared function 'PPC_RAW_LI32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     153 |         EMIT(PPC_RAW_LI32(bpf_to_ppc(TMP_REG), (u32)func_meta));
         |              ^
   arch/powerpc/net/bpf_jit_comp32.c:157:7: error: call to undeclared function 'PPC_RAW_LI32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     157 |         EMIT(PPC_RAW_LI32(bpf_to_ppc(TMP_REG), (u32)(func_meta >> 32)));
         |              ^
   2 errors generated.


vim +/PPC_RAW_LI32 +153 arch/powerpc/net/bpf_jit_comp32.c

   144	
   145	void store_func_meta(u32 *image, struct codegen_context *ctx,
   146						u64 func_meta, int func_meta_off)
   147	{
   148		/*
   149		 * Store func_meta to stack: [R1 + func_meta_off] = func_meta
   150		 * func_meta := argument count in first byte + cookie value
   151		 */
   152		/* Store lower word */
 > 153		EMIT(PPC_RAW_LI32(bpf_to_ppc(TMP_REG), (u32)func_meta));
   154		EMIT(PPC_RAW_STW(bpf_to_ppc(TMP_REG), _R1, func_meta_off));
   155	
   156		/* Store upper word */
   157		EMIT(PPC_RAW_LI32(bpf_to_ppc(TMP_REG), (u32)(func_meta >> 32)));
   158		EMIT(PPC_RAW_STW(bpf_to_ppc(TMP_REG), _R1, func_meta_off + 4));
   159	}
   160	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-07  3:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07  3:49 [linuxppc:next-test 41/45] arch/powerpc/net/bpf_jit_comp32.c:153:7: error: call to undeclared function 'PPC_RAW_LI32'; ISO C99 and later do not support implicit function declarations kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox