From c66779234fa7ba71cefa1c4eb283db53a3cb5303 Mon Sep 17 00:00:00 2001 From: Oleksandr Natalenko Date: Sat, 23 Nov 2024 12:45:28 +0100 Subject: amd-rapl-6.12: fix clang-built kernel not booting Link: https://lore.kernel.org/lkml/7eaf557d-7e85-4fd3-abee-f84ac01d92c1@amd.com/ Signed-off-by: Oleksandr Natalenko --- arch/x86/events/rapl.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/events/rapl.c +++ b/arch/x86/events/rapl.c @@ -699,6 +699,7 @@ static const struct attribute_group *rap static const struct attribute_group *rapl_core_attr_update[] = { &rapl_events_core_group, + NULL, }; static int __init init_rapl_pmu(struct rapl_pmus *rapl_pmus)