Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit dc8e5df

Browse files
Jeff JohnsonIngo Molnar
authored andcommitted
perf/x86/intel: Add missing MODULE_DESCRIPTION() lines
Fix the 'make W=1 C=1' warnings: WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/events/intel/intel-uncore.o WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/events/intel/intel-cstate.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-intel-v1-1-8252194ed20a@quicinc.com
1 parent 0a44078 commit dc8e5df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

arch/x86/events/intel/cstate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
#include "../perf_event.h"
115115
#include "../probe.h"
116116

117+
MODULE_DESCRIPTION("Support for Intel cstate performance events");
117118
MODULE_LICENSE("GPL");
118119

119120
#define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format) \

arch/x86/events/intel/uncore.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ static struct event_constraint uncore_constraint_fixed =
3434
struct event_constraint uncore_constraint_empty =
3535
EVENT_CONSTRAINT(0, 0, 0);
3636

37+
MODULE_DESCRIPTION("Support for Intel uncore performance events");
3738
MODULE_LICENSE("GPL");
3839

3940
int uncore_pcibus_to_dieid(struct pci_bus *bus)

0 commit comments

Comments
 (0)