* [chenhuacai-loongson:loongarch-next 4/9] drivers/net/ethernet/netronome/nfp/bpf/jit.c:584:13: error: conflicting types for 'emit_nop'; have 'void(struct nfp_prog *)'
@ 2025-03-22 14:24 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-22 14:24 UTC (permalink / raw)
To: Hengqi Chen; +Cc: oe-kbuild-all, Huacai Chen
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git loongarch-next
head: 4448c4c96a8ab79f1bf9752abe2e25d7a56d9346
commit: c1a35b085d594b02302fb42dc95a9b606986323c [4/9] LoongArch: BPF: Fix off-by-one error in build_prologue()
config: loongarch-randconfig-001-20250322 (https://download.01.org/0day-ci/archive/20250322/202503222206.sC7OSxgr-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250322/202503222206.sC7OSxgr-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/202503222206.sC7OSxgr-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/netronome/nfp/bpf/jit.c:584:13: error: conflicting types for 'emit_nop'; have 'void(struct nfp_prog *)'
584 | static void emit_nop(struct nfp_prog *nfp_prog)
| ^~~~~~~~
In file included from arch/loongarch/include/asm/module.h:8,
from include/linux/module.h:33,
from include/linux/bpf.h:20,
from drivers/net/ethernet/netronome/nfp/bpf/jit.c:7:
arch/loongarch/include/asm/inst.h:525:20: note: previous definition of 'emit_nop' with type 'void(union loongarch_instruction *)'
525 | static inline void emit_nop(union loongarch_instruction *insn)
| ^~~~~~~~
vim +584 drivers/net/ethernet/netronome/nfp/bpf/jit.c
df4a37d8b53f9f Jakub Kicinski 2018-03-28 583
1c03e03f9b5278 Jakub Kicinski 2017-10-08 @584 static void emit_nop(struct nfp_prog *nfp_prog)
1c03e03f9b5278 Jakub Kicinski 2017-10-08 585 {
1c03e03f9b5278 Jakub Kicinski 2017-10-08 586 __emit_immed(nfp_prog, UR_REG_IMM, UR_REG_IMM, 0, 0, 0, 0, 0, 0, 0);
1c03e03f9b5278 Jakub Kicinski 2017-10-08 587 }
1c03e03f9b5278 Jakub Kicinski 2017-10-08 588
:::::: The code at line 584 was first introduced by commit
:::::: 1c03e03f9b5278701d4a0e3444b2de3b9ddc244b nfp: bpf: pad code with valid nops
:::::: TO: Jakub Kicinski <jakub.kicinski@netronome.com>
:::::: CC: David S. Miller <davem@davemloft.net>
--
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:[~2025-03-22 14:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-22 14:24 [chenhuacai-loongson:loongarch-next 4/9] drivers/net/ethernet/netronome/nfp/bpf/jit.c:584:13: error: conflicting types for 'emit_nop'; have 'void(struct nfp_prog *)' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.