]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
perf/x86/intel: Add missing MODULE_DESCRIPTION() lines
authorJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 30 May 2024 20:42:51 +0000 (13:42 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 May 2024 09:41:15 +0000 (11:41 +0200)
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
arch/x86/events/intel/cstate.c
arch/x86/events/intel/uncore.c

index e64eaa8dda5a45e7d8938d31afd2a0d9434469f9..9d6e8f13d13a7807c11123b160a0c7df50185b27 100644 (file)
 #include "../perf_event.h"
 #include "../probe.h"
 
+MODULE_DESCRIPTION("Support for Intel cstate performance events");
 MODULE_LICENSE("GPL");
 
 #define DEFINE_CSTATE_FORMAT_ATTR(_var, _name, _format)                \
index 419c517b8594fbdd057a0f36bc707c8b6cd8b58f..c68f5b39952b0a4cc2fcc2bb61a8ba2a1c6b7bed 100644 (file)
@@ -34,6 +34,7 @@ static struct event_constraint uncore_constraint_fixed =
 struct event_constraint uncore_constraint_empty =
        EVENT_CONSTRAINT(0, 0, 0);
 
+MODULE_DESCRIPTION("Support for Intel uncore performance events");
 MODULE_LICENSE("GPL");
 
 int uncore_pcibus_to_dieid(struct pci_bus *bus)