Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1773110rdh; Sat, 28 Oct 2023 06:43:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBiIeNCyXw65GhmbOp1SdgBBesHmdOZmAzQJE3//fnnwOz6dnKpcLcAMqfpAKE3Odx5CQF X-Received: by 2002:a05:6359:8089:b0:168:d966:c1e8 with SMTP id re9-20020a056359808900b00168d966c1e8mr4109023rwb.30.1698500631396; Sat, 28 Oct 2023 06:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698500631; cv=none; d=google.com; s=arc-20160816; b=DnD4seZviA3RIkY6AuiFcMBpAAxaQ0b4G31LsIYHcrAPoRlHk6TqgP2en7GWn6K63a XHh+JxGKRKayvrkbUI46hSeGJEt8L4R7fVV58hguwdF38XWF4CoL0buTC5iRYhm0E5sU RMDOBqPeJsSRXsjw1SBbfqKqm3Doz7tpB01YdU+4J7R0+O5kkyJYOTVbCdsCVHF+ixDa dAkVcT+sMgZDWxoRSXANwH9qUs3CJxu+/H1I3XO/H3qBCu4bNzbQZWkv1NlY2k1AbeIM exVRIoVziqQk8C2UiJGwjlKBjxSsNQeqkK5KEyhQuO7Q1w3sfXNR/HN5+lQfGSSz/YhU +6Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=blzEK90iJ0hb4sGoa7HcLViyVwy2HbYxyjA8iXi3gUc=; fh=J2h6Q/W8pJ8zqPyLTOR3Gh1ee8RPn5Ky2fvVh0oad/I=; b=VXx0IjWvipR7YKJbxGpq7So5IiKPN7MFGURu74qMe3uN9a4xkzL4la8Kr1KbzMEoq9 0jBHEfGOj9CX/QmuwPq1mPQIxVg27t9WsjENRGjA06PYwZzz2cCTwnhrr+/qIR62A1cl 2mCJbYpZMfvjy5mJsq6HTH63yckuYPsjtsCNaX1HA2Eqz4NCOQxS2LY9BrJadyuQ7S1Z TOBRHdc+aJHXVJZt8EtQDJZSaleoC4hei6bQCJ8KTmEiQA79LQtd14WCizR7Tndaa8vX aKU4Y28L8wHwqRjFCTOz5apEXAssI/OUbGHD9lEJ7N07OQOFUFlEYxDOBFpfu4M0RL+h YerA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WiPrdjbk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id s9-20020a17090a6e4900b0027d37bb12a6si2390253pjm.49.2023.10.28.06.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 06:43:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=WiPrdjbk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id CA4268100227; Sat, 28 Oct 2023 06:43:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229926AbjJ1Nnc (ORCPT + 99 others); Sat, 28 Oct 2023 09:43:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjJ1Nnb (ORCPT ); Sat, 28 Oct 2023 09:43:31 -0400 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F9EA93; Sat, 28 Oct 2023 06:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698500608; x=1730036608; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Lgsn/cH6qVOFWUhcF7VtnSy5ywh8V+OwTksqVFwA0F0=; b=WiPrdjbksv6Li3CsD9rlnezcj0A9XKcy1mRyOqzhKg+mQzLdZpBUEUo6 GOI57o02ZFV3zZ1wJhq67UjSHTmstt/a85VPf7SZhl5beOgApuUD0uS9J 2qQjEUc02t1H5NXozlCu/qgTgh8VqoPrm1SDKgiXQF3M0QPbxMTW4ujBJ Dwb1zaEmI27Ja2++2MIH5gRaV7639Fsre3642A17IIkpzcXzDbkOKQKtu dI3gbOLgaHgOh4bVFrbVwE9qDEZEmGpBJ++v4BWdH2iOMZcJnAdJ1NR+c 1KlUbpi2UVJ5Pa1DanyMRPLWLCyIXj7cMyVhxb7Jx59OKXYvAqFSBnAnP w==; X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="6530803" X-IronPort-AV: E=Sophos;i="6.03,259,1694761200"; d="scan'208";a="6530803" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Oct 2023 06:43:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="830274388" X-IronPort-AV: E=Sophos;i="6.03,259,1694761200"; d="scan'208";a="830274388" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 28 Oct 2023 06:43:23 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qwjaz-000BmT-26; Sat, 28 Oct 2023 13:43:21 +0000 Date: Sat, 28 Oct 2023 21:42:57 +0800 From: kernel test robot To: Anshuman Khandual , linux-arm-kernel@lists.infradead.org, suzuki.poulose@arm.com Cc: oe-kbuild-all@lists.linux.dev, Anshuman Khandual , Lorenzo Pieralisi , Sudeep Holla , Mike Leach , James Clark , Maxime Coquelin , Alexandre Torgue , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH 7/7] coresight: debug: Move ACPI support from AMBA driver to platform driver Message-ID: <202310282104.0VVIo070-lkp@intel.com> References: <20231027072943.3418997-8-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231027072943.3418997-8-anshuman.khandual@arm.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sat, 28 Oct 2023 06:43:48 -0700 (PDT) Hi Anshuman, kernel test robot noticed the following build errors: [auto build test ERROR on rafael-pm/linux-next] [also build test ERROR on rafael-pm/acpi-bus soc/for-next atorgue-stm32/stm32-next linus/master v6.6-rc7 next-20231027] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Anshuman-Khandual/coresight-replicator-Move-ACPI-support-from-AMBA-driver-to-platform-driver/20231027-153540 base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next patch link: https://lore.kernel.org/r/20231027072943.3418997-8-anshuman.khandual%40arm.com patch subject: [PATCH 7/7] coresight: debug: Move ACPI support from AMBA driver to platform driver config: arm64-randconfig-003-20231028 (https://download.01.org/0day-ci/archive/20231028/202310282104.0VVIo070-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231028/202310282104.0VVIo070-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/202310282104.0VVIo070-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/amba/bus.h:15, from drivers/hwtracing/coresight/coresight-cpu-debug.c:7: include/linux/module.h:131:49: error: redefinition of '__inittest' 131 | static inline initcall_t __maybe_unused __inittest(void) \ | ^~~~~~~~~~ include/linux/device/driver.h:262:1: note: in expansion of macro 'module_init' 262 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/platform_device.h:303:9: note: in expansion of macro 'module_driver' 303 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:784:1: note: in expansion of macro 'module_platform_driver' 784 | module_platform_driver(debug_platform_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:131:49: note: previous definition of '__inittest' with type 'int (*(void))(void)' 131 | static inline initcall_t __maybe_unused __inittest(void) \ | ^~~~~~~~~~ include/linux/device/driver.h:262:1: note: in expansion of macro 'module_init' 262 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/amba/bus.h:186:9: note: in expansion of macro 'module_driver' 186 | module_driver(__amba_drv, amba_driver_register, amba_driver_unregister) | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:692:1: note: in expansion of macro 'module_amba_driver' 692 | module_amba_driver(debug_driver); | ^~~~~~~~~~~~~~~~~~ include/linux/module.h:133:13: error: redefinition of 'init_module' 133 | int init_module(void) __copy(initfn) \ | ^~~~~~~~~~~ include/linux/device/driver.h:262:1: note: in expansion of macro 'module_init' 262 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/platform_device.h:303:9: note: in expansion of macro 'module_driver' 303 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:784:1: note: in expansion of macro 'module_platform_driver' 784 | module_platform_driver(debug_platform_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:133:13: note: previous definition of 'init_module' with type 'int(void)' 133 | int init_module(void) __copy(initfn) \ | ^~~~~~~~~~~ include/linux/device/driver.h:262:1: note: in expansion of macro 'module_init' 262 | module_init(__driver##_init); \ | ^~~~~~~~~~~ include/linux/amba/bus.h:186:9: note: in expansion of macro 'module_driver' 186 | module_driver(__amba_drv, amba_driver_register, amba_driver_unregister) | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:692:1: note: in expansion of macro 'module_amba_driver' 692 | module_amba_driver(debug_driver); | ^~~~~~~~~~~~~~~~~~ >> include/linux/module.h:139:49: error: redefinition of '__exittest' 139 | static inline exitcall_t __maybe_unused __exittest(void) \ | ^~~~~~~~~~ include/linux/device/driver.h:267:1: note: in expansion of macro 'module_exit' 267 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/platform_device.h:303:9: note: in expansion of macro 'module_driver' 303 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:784:1: note: in expansion of macro 'module_platform_driver' 784 | module_platform_driver(debug_platform_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:139:49: note: previous definition of '__exittest' with type 'void (*(void))(void)' 139 | static inline exitcall_t __maybe_unused __exittest(void) \ | ^~~~~~~~~~ include/linux/device/driver.h:267:1: note: in expansion of macro 'module_exit' 267 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/amba/bus.h:186:9: note: in expansion of macro 'module_driver' 186 | module_driver(__amba_drv, amba_driver_register, amba_driver_unregister) | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:692:1: note: in expansion of macro 'module_amba_driver' 692 | module_amba_driver(debug_driver); | ^~~~~~~~~~~~~~~~~~ >> include/linux/module.h:141:14: error: redefinition of 'cleanup_module' 141 | void cleanup_module(void) __copy(exitfn) \ | ^~~~~~~~~~~~~~ include/linux/device/driver.h:267:1: note: in expansion of macro 'module_exit' 267 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/platform_device.h:303:9: note: in expansion of macro 'module_driver' 303 | module_driver(__platform_driver, platform_driver_register, \ | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:784:1: note: in expansion of macro 'module_platform_driver' 784 | module_platform_driver(debug_platform_driver); | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/module.h:141:14: note: previous definition of 'cleanup_module' with type 'void(void)' 141 | void cleanup_module(void) __copy(exitfn) \ | ^~~~~~~~~~~~~~ include/linux/device/driver.h:267:1: note: in expansion of macro 'module_exit' 267 | module_exit(__driver##_exit); | ^~~~~~~~~~~ include/linux/amba/bus.h:186:9: note: in expansion of macro 'module_driver' 186 | module_driver(__amba_drv, amba_driver_register, amba_driver_unregister) | ^~~~~~~~~~~~~ drivers/hwtracing/coresight/coresight-cpu-debug.c:692:1: note: in expansion of macro 'module_amba_driver' 692 | module_amba_driver(debug_driver); | ^~~~~~~~~~~~~~~~~~ vim +/__exittest +139 include/linux/module.h 0fd972a7d91d6e Paul Gortmaker 2015-05-01 128 0fd972a7d91d6e Paul Gortmaker 2015-05-01 129 /* Each module must use one module_init(). */ 0fd972a7d91d6e Paul Gortmaker 2015-05-01 130 #define module_init(initfn) \ 1f318a8bafcfba Arnd Bergmann 2017-02-01 131 static inline initcall_t __maybe_unused __inittest(void) \ 0fd972a7d91d6e Paul Gortmaker 2015-05-01 132 { return initfn; } \ cf68fffb66d60d Sami Tolvanen 2021-04-08 133 int init_module(void) __copy(initfn) \ cf68fffb66d60d Sami Tolvanen 2021-04-08 134 __attribute__((alias(#initfn))); \ 92efda8eb15295 Sami Tolvanen 2022-09-08 135 ___ADDRESSABLE(init_module, __initdata); 0fd972a7d91d6e Paul Gortmaker 2015-05-01 136 0fd972a7d91d6e Paul Gortmaker 2015-05-01 137 /* This is only required if you want to be unloadable. */ 0fd972a7d91d6e Paul Gortmaker 2015-05-01 138 #define module_exit(exitfn) \ 1f318a8bafcfba Arnd Bergmann 2017-02-01 @139 static inline exitcall_t __maybe_unused __exittest(void) \ 0fd972a7d91d6e Paul Gortmaker 2015-05-01 140 { return exitfn; } \ cf68fffb66d60d Sami Tolvanen 2021-04-08 @141 void cleanup_module(void) __copy(exitfn) \ cf68fffb66d60d Sami Tolvanen 2021-04-08 142 __attribute__((alias(#exitfn))); \ 92efda8eb15295 Sami Tolvanen 2022-09-08 143 ___ADDRESSABLE(cleanup_module, __exitdata); 0fd972a7d91d6e Paul Gortmaker 2015-05-01 144 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki