From: Sumit Gupta <sumitg@nvidia.com>
To: kernel test robot <lkp@intel.com>, <rafael@kernel.org>,
<rui.zhang@intel.com>, <lenb@kernel.org>,
<linux-acpi@vger.kernel.org>, <linux-tegra@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <oe-kbuild-all@lists.linux.dev>, <treding@nvidia.com>,
<jonathanh@nvidia.com>, <bbasu@nvidia.com>, <sanjayc@nvidia.com>,
<ksitaraman@nvidia.com>, <srikars@nvidia.com>,
<jbrasen@nvidia.com>, "Sumit Gupta" <sumitg@nvidia.com>
Subject: Re: [Patch v4 2/2] ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241
Date: Tue, 10 Oct 2023 13:05:24 +0530 [thread overview]
Message-ID: <6d2b652a-17bd-b6ff-03ed-081ab299da56@nvidia.com> (raw)
In-Reply-To: <202310100219.lpVzbckv-lkp@intel.com>
> Hi Sumit,
>
> kernel test robot noticed the following build errors:
Thank you for the report.
>
> [auto build test ERROR on rafael-pm/linux-next]
> [also build test ERROR on next-20231009]
> [cannot apply to linus/master v6.6-rc5]
[...]
> All errors (new ones prefixed by >>):
>
> ld: arch/x86/kernel/setup.o: in function `acpi_thermal_cpufreq_pctg':
>>> setup.c:(.text+0x3): multiple definition of `acpi_thermal_cpufreq_pctg'; init/main.o:main.c:(.text+0x32): first defined here
> ld: arch/x86/kernel/x86_init.o: in function `acpi_thermal_cpufreq_pctg':
[...]
> cpu.c:(.text+0x128): multiple definition of `acpi_thermal_cpufreq_pctg'; init/main.o:main.c:(.text+0x32): first defined here
> ld: drivers/base/property.o: in function `acpi_thermal_cpufreq_pctg':
> property.c:(.text+0xa87): multiple definition of `acpi_thermal_cpufreq_pctg'; init/main.o:main.c:(.text+0x32): first defined here
> ld: drivers/base/cacheinfo.o: in function `acpi_thermal_cpufreq_pctg':
> cacheinfo.c:(.text+0x231): multiple definition of `acpi_thermal_cpufreq_pctg'; init/main.o:main.c:(.text+0x32): first defined here
Below change fixes the issue for me.
+++ b/include/linux/acpi.h
@@ -1542,7 +1542,7 @@ static inline void
acpi_device_notify_remove(struct device *dev) { }
#ifdef CONFIG_HAVE_ARM_SMCCC_DISCOVERY
int acpi_thermal_cpufreq_pctg(void);
#else
-inline int acpi_thermal_cpufreq_pctg(void)
+static inline int acpi_thermal_cpufreq_pctg(void)
{
return 0;
}
Best Regards,
Sumit Gupta
next prev parent reply other threads:[~2023-10-10 7:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 17:18 [Patch v4 0/2] Add support for _TFP and change throttle pctg Sumit Gupta
2023-10-09 17:18 ` [Patch v4 1/2] ACPI: thermal: Add Thermal fast Sampling Period (_TFP) support Sumit Gupta
2023-10-09 17:18 ` [Patch v4 2/2] ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241 Sumit Gupta
2023-10-09 19:02 ` kernel test robot
2023-10-10 7:35 ` Sumit Gupta [this message]
2023-10-10 7:51 ` Sumit Gupta
2023-10-10 9:42 ` kernel test robot
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 \
--in-reply-to=6d2b652a-17bd-b6ff-03ed-081ab299da56@nvidia.com \
--to=sumitg@nvidia.com \
--cc=bbasu@nvidia.com \
--cc=jbrasen@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=ksitaraman@nvidia.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=sanjayc@nvidia.com \
--cc=srikars@nvidia.com \
--cc=treding@nvidia.com \
/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
all inboxes | Powered by JetHome®