From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C2A2BC12F for ; Mon, 14 Aug 2023 18:52:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692039161; x=1723575161; h=date:from:to:cc:subject:message-id:mime-version; bh=A6/OezY9wqi1bscssQwj+0RPkna6iFRD78EKSwi+hco=; b=i/mRuZxgSOAVTLhO5vj3MjGnZhwnU51v081R8B1hI835DZKW11+CRJKA w7fVptHVN7zFNAsA4vpjgfIxYzrr4wf9lqDwCX5p4nouYn06ix2FG6Aix YHfjNeVOqNLaqbDVrPDY2DyYCEzWJsJyVJAdEEf7D2qoWbg2LmuYyKAOm welcBDrXG8qldTxrzmYdojPNQzutr+VnB7m4miR0/RIXPvUt/6Kr65dZQ Jv30yiU2HfymzkY8+gdl698B/JU/bIewaMFuEV8ZuOsFMGEf2LVLXoNRo A8io0qLRr6Wi5ytq/YxHm8q+2QVUxu6EylZFQjbJKUkCdv2fS5TIvKIfW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="351703389" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="351703389" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 11:52:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="823566681" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="823566681" Received: from lkp-server02.sh.intel.com (HELO b5fb8d9e1ffc) ([10.239.97.151]) by FMSMGA003.fm.intel.com with ESMTP; 14 Aug 2023 11:52:39 -0700 Received: from kbuild by b5fb8d9e1ffc with local (Exim 4.96) (envelope-from ) id 1qVcgA-0000M5-2W; Mon, 14 Aug 2023 18:52:38 +0000 Date: Tue, 15 Aug 2023 02:51:42 +0800 From: kernel test robot To: "Borislav Petkov (AMD)" Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, x86@kernel.org Subject: [tip:master 20/20] arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode' Message-ID: <202308150231.ThoHOoid-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master head: d2915b8e76b3a598febd7348799d745cb741a2f5 commit: d2915b8e76b3a598febd7348799d745cb741a2f5 [20/20] Merge x86/microcode into tip/master config: i386-debian-10.3 (https://download.01.org/0day-ci/archive/20230815/202308150231.ThoHOoid-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230815/202308150231.ThoHOoid-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202308150231.ThoHOoid-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/x86/kernel/smpboot.c:80: >> arch/x86/include/asm/microcode.h:29:20: error: redefinition of 'amd_check_microcode' 29 | static inline void amd_check_microcode(void) {} | ^~~~~~~~~~~~~~~~~~~ In file included from arch/x86/include/asm/cpufeature.h:5, from arch/x86/include/asm/thread_info.h:53, from include/linux/thread_info.h:60, from arch/x86/include/asm/preempt.h:9, from include/linux/preempt.h:79, from include/linux/smp.h:110, from arch/x86/kernel/smpboot.c:43: arch/x86/include/asm/processor.h:694:20: note: previous definition of 'amd_check_microcode' with type 'void(void)' 694 | static inline void amd_check_microcode(void) { } | ^~~~~~~~~~~~~~~~~~~ vim +/amd_check_microcode +29 arch/x86/include/asm/microcode.h 25 26 #ifdef CONFIG_CPU_SUP_AMD 27 extern void amd_check_microcode(void); 28 #else > 29 static inline void amd_check_microcode(void) {} 30 #endif 31 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki