From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gnuweeb.org (Postfix) with ESMTPS id B299383084 for ; Sat, 11 Feb 2023 21:34:29 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=icyFQAni; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676151269; x=1707687269; h=date:from:to:cc:subject:message-id:mime-version; bh=m5lQnSIboUpHGZZxDLLXfuZJCH+DGODHCO59VxKPvmM=; b=icyFQAninaWtc5jBGA09hXwDHD+0vEZkISvjQERBK9e4pb2gPAHL3dCG 3U7+p6EMltim8d4BLJYPPz2OwjKIIOgZxvezHzyJTkRwhBlNMVrHl1JQZ fAf4ut3IgpXaO8NaceBbrw2rU4XXd3vDv1HQOwYXwUgYz6V2PkqCyTVoZ 0mQFAr3bnYEAF2yPRdoKbVa0wSym6W5EOyCEVRQBkdmQmydmGjv7axGEF n6xws1tx0T7TVoj27reVnjfesith270KSbcvCHA6u8ViR5o8q25hMqkP6 6DsHcgfoU66xbGK6VM3ZDekuSJRuzosYK5ceguheLw6pXEKILbfqa2j3C w==; X-IronPort-AV: E=McAfee;i="6500,9779,10618"; a="314300307" X-IronPort-AV: E=Sophos;i="5.97,290,1669104000"; d="scan'208";a="314300307" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2023 13:34:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10618"; a="668402534" X-IronPort-AV: E=Sophos;i="5.97,290,1669104000"; d="scan'208";a="668402534" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 11 Feb 2023 13:34:26 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pQxVp-0006oh-1a; Sat, 11 Feb 2023 21:34:25 +0000 Date: Sun, 12 Feb 2023 05:33:48 +0800 From: kernel test robot To: Christophe Leroy Cc: oe-kbuild-all@lists.linux.dev, Ammar Faizi , GNU/Weeb Mailing List , Sasha Levin , Michael Ellerman 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' Message-ID: <202302120550.FfTfDIyg-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: 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/202302120550.FfTfDIyg-lkp@intel.com/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 | Link: https://lore.kernel.org/oe-kbuild-all/202302120550.FfTfDIyg-lkp@intel.com/ 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 :::::: CC: Michael Ellerman -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests