lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 13 Dec 2023 13:54:09 +0100
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Arnd Bergmann <arnd@...nel.org>
Cc:     Lorenzo Pieralisi <lpieralisi@...nel.org>,
        Hanjun Guo <guohanjun@...wei.com>,
        Sudeep Holla <sudeep.holla@....com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Sumit Gupta <sumitg@...dia.com>,
        Srikar Srimath Tirumala <srikars@...dia.com>,
        Arnd Bergmann <arnd@...db.de>, Len Brown <lenb@...nel.org>,
        linux-acpi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI: arm64: export acpi_arch_thermal_cpufreq_pctg

On Tue, Dec 12, 2023 at 10:48 PM Arnd Bergmann <arnd@...nel.org> wrote:
>
> From: Arnd Bergmann <arnd@...db.de>
>
> The cpufreq code can be in a loadable module, so the architecture support
> for it has to be exported:
>
> ERROR: modpost: "acpi_arch_thermal_cpufreq_pctg" [drivers/acpi/processor.ko] undefined!
>
> Fixes: 310293a2b941 ("ACPI: processor: reduce CPUFREQ thermal reduction pctg for Tegra241")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
>  drivers/acpi/arm64/thermal_cpufreq.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/arm64/thermal_cpufreq.c b/drivers/acpi/arm64/thermal_cpufreq.c
> index d524f2cd6044..582854914c5c 100644
> --- a/drivers/acpi/arm64/thermal_cpufreq.c
> +++ b/drivers/acpi/arm64/thermal_cpufreq.c
> @@ -1,5 +1,6 @@
>  // SPDX-License-Identifier: GPL-2.0-only
>  #include <linux/acpi.h>
> +#include <linux/export.h>
>
>  #include "../internal.h"
>
> @@ -18,3 +19,4 @@ int acpi_arch_thermal_cpufreq_pctg(void)
>
>         return 0;
>  }
> +EXPORT_SYMBOL_GPL(acpi_arch_thermal_cpufreq_pctg);
> --

Applied, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ