From: kernel test robot <lkp@intel.com>
To: Abhishek Dubey <adubey@linux.ibm.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Madhavan Srinivasan <maddy@linux.ibm.com>
Subject: [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
Date: Tue, 07 Apr 2026 11:49:05 +0800 [thread overview]
Message-ID: <202604040005.1ocss28U-lkp@intel.com> (raw)
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
reply other threads:[~2026-04-07 3:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202604040005.1ocss28U-lkp@intel.com \
--to=lkp@intel.com \
--cc=adubey@linux.ibm.com \
--cc=llvm@lists.linux.dev \
--cc=maddy@linux.ibm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox