GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Christophe Leroy <[email protected]>
Cc: [email protected],
	Ammar Faizi <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>,
	Sasha Levin <[email protected]>,
	Michael Ellerman <[email protected]>
Subject: [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'
Date: Sun, 12 Feb 2023 05:33:48 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

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

                 reply	other threads:[~2023-02-11 21:34 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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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