2024-05-30 20:13:13

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] perf/x86/rapl: add missing MODULE_DESCRIPTION()

Fix the warning from 'make C=1 W=1':
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/events/rapl.o

Signed-off-by: Jeff Johnson <[email protected]>
---
arch/x86/events/rapl.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
index 46e673585560..0c5e7a7c43ac 100644
--- a/arch/x86/events/rapl.c
+++ b/arch/x86/events/rapl.c
@@ -64,6 +64,7 @@
#include "perf_event.h"
#include "probe.h"

+MODULE_DESCRIPTION("Support Intel/AMD RAPL energy consumption counters");
MODULE_LICENSE("GPL");

/*

---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240530-md-arch-x86-events-9355c2468b2f



Subject: [tip: perf/urgent] perf/x86/rapl: Add missing MODULE_DESCRIPTION() line

The following commit has been merged into the perf/urgent branch of tip:

Commit-ID: 0a44078f2b72abcdda47581c942bd5d0468ec50b
Gitweb: https://git.kernel.org/tip/0a44078f2b72abcdda47581c942bd5d0468ec50b
Author: Jeff Johnson <[email protected]>
AuthorDate: Thu, 30 May 2024 13:12:03 -07:00
Committer: Ingo Molnar <[email protected]>
CommitterDate: Fri, 31 May 2024 11:41:04 +02:00

perf/x86/rapl: Add missing MODULE_DESCRIPTION() line

Fix the warning from 'make C=1 W=1':

WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/events/rapl.o

Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
arch/x86/events/rapl.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c
index 46e6735..0c5e7a7 100644
--- a/arch/x86/events/rapl.c
+++ b/arch/x86/events/rapl.c
@@ -64,6 +64,7 @@
#include "perf_event.h"
#include "probe.h"

+MODULE_DESCRIPTION("Support Intel/AMD RAPL energy consumption counters");
MODULE_LICENSE("GPL");

/*