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

Jeff Johnson posted 1 patch 1 year, 6 months ago
arch/x86/events/rapl.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] perf/x86/rapl: add missing MODULE_DESCRIPTION()
Posted by Jeff Johnson 1 year, 6 months ago
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 <quic_jjohnson@quicinc.com>
---
 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
[tip: perf/urgent] perf/x86/rapl: Add missing MODULE_DESCRIPTION() line
Posted by tip-bot2 for Jeff Johnson 1 year, 6 months ago
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 <quic_jjohnson@quicinc.com>
AuthorDate:    Thu, 30 May 2024 13:12:03 -07:00
Committer:     Ingo Molnar <mingo@kernel.org>
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 <quic_jjohnson@quicinc.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20240530-md-arch-x86-events-v1-1-e45ffa8af99f@quicinc.com
---
 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");
 
 /*