* [PATCH] ACPI: CPPC: Add missing include
@ 2025-02-11 20:32 Mario Limonciello
2025-02-18 18:16 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Mario Limonciello @ 2025-02-11 20:32 UTC (permalink / raw)
To: mario.limonciello, rafael, tglx, mingo, bp, dave.hansen, x86; +Cc: linux-acpi
From: Mario Limonciello <mario.limonciello@amd.com>
Some minimial kernel configurations will fail with -Werror=implicit-function-declaration
due to a missing header include.
Add that header.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
---
arch/x86/kernel/acpi/cppc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c
index d68a4cb0168fa..77bfb846490c0 100644
--- a/arch/x86/kernel/acpi/cppc.c
+++ b/arch/x86/kernel/acpi/cppc.c
@@ -4,6 +4,8 @@
* Copyright (c) 2016, Intel Corporation.
*/
+#include <linux/bitfield.h>
+
#include <acpi/cppc_acpi.h>
#include <asm/msr.h>
#include <asm/processor.h>
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ACPI: CPPC: Add missing include
2025-02-11 20:32 [PATCH] ACPI: CPPC: Add missing include Mario Limonciello
@ 2025-02-18 18:16 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-02-18 18:16 UTC (permalink / raw)
To: Mario Limonciello
Cc: mario.limonciello, rafael, tglx, mingo, bp, dave.hansen, x86,
linux-acpi
On Tue, Feb 11, 2025 at 9:33 PM Mario Limonciello <superm1@kernel.org> wrote:
>
> From: Mario Limonciello <mario.limonciello@amd.com>
>
> Some minimial kernel configurations will fail with -Werror=implicit-function-declaration
> due to a missing header include.
>
> Add that header.
>
> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
> ---
> arch/x86/kernel/acpi/cppc.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/kernel/acpi/cppc.c b/arch/x86/kernel/acpi/cppc.c
> index d68a4cb0168fa..77bfb846490c0 100644
> --- a/arch/x86/kernel/acpi/cppc.c
> +++ b/arch/x86/kernel/acpi/cppc.c
> @@ -4,6 +4,8 @@
> * Copyright (c) 2016, Intel Corporation.
> */
>
> +#include <linux/bitfield.h>
> +
> #include <acpi/cppc_acpi.h>
> #include <asm/msr.h>
> #include <asm/processor.h>
> --
Applied as 6.15 material with "x86" added to the subject, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-18 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-11 20:32 [PATCH] ACPI: CPPC: Add missing include Mario Limonciello
2025-02-18 18:16 ` Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.