* [ammarfaizi2-block:stable/linux-stable-rc/queue/5.10 8/105] arch/powerpc/net/bpf_jit32.h:131:8: error: redefinition of 'struct codegen_context'
@ 2023-02-11 21:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-02-11 21:33 UTC (permalink / raw)
To: Christophe Leroy
Cc: oe-kbuild-all, Ammar Faizi, GNU/Weeb Mailing List, Sasha Levin,
Michael Ellerman
tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/5.10
head: 9ff628d4688675caf3ffe3356e353fcb4af8ba92
commit: 8db4374c40363a75c6eb9d18dd12b3fc4a41d291 [8/105] powerpc/bpf: Move common helpers into bpf_jit.h
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20230212/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/8db4374c40363a75c6eb9d18dd12b3fc4a41d291
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/5.10
git checkout 8db4374c40363a75c6eb9d18dd12b3fc4a41d291
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash arch/powerpc/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/net/bpf_jit_comp.c:16:
>> arch/powerpc/net/bpf_jit32.h:131:8: error: redefinition of 'struct codegen_context'
131 | struct codegen_context {
| ^~~~~~~~~~~~~~~
In file included from arch/powerpc/net/bpf_jit32.h:13:
arch/powerpc/net/bpf_jit.h:124:8: note: originally defined here
124 | struct codegen_context {
| ^~~~~~~~~~~~~~~
>> arch/powerpc/net/bpf_jit_comp.c:18:20: error: redefinition of 'bpf_flush_icache'
18 | static inline void bpf_flush_icache(void *start, void *end)
| ^~~~~~~~~~~~~~~~
arch/powerpc/net/bpf_jit.h:139:20: note: previous definition of 'bpf_flush_icache' with type 'void(void *, void *)'
139 | static inline void bpf_flush_icache(void *start, void *end)
| ^~~~~~~~~~~~~~~~
vim +131 arch/powerpc/net/bpf_jit32.h
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 130
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 @131 struct codegen_context {
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 132 unsigned int seen;
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 133 unsigned int idx;
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 134 int pc_ret0; /* bpf index of first RET #0 instruction (if any) */
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 135 };
6ac0ba5a4f82b4 Naveen N. Rao 2016-06-22 136
:::::: The code at line 131 was first introduced by commit
:::::: 6ac0ba5a4f82b40b4f6b3a75e7e4f0a15a3d7b9b powerpc/bpf/jit: Isolate classic BPF JIT specifics into a separate header
:::::: TO: Naveen N. Rao <[email protected]>
:::::: CC: Michael Ellerman <[email protected]>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-11 21:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-11 21:33 [ammarfaizi2-block:stable/linux-stable-rc/queue/5.10 8/105] arch/powerpc/net/bpf_jit32.h:131:8: error: redefinition of 'struct codegen_context' 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