Andrew Morton
2024-Jul-30 22:25 UTC
+ cpufreq-powerpc-add-missing-module_description-macros.patch added to mm-nonmm-unstable branch
The patch titled Subject: cpufreq: powerpc: add missing MODULE_DESCRIPTION() macros has been added to the -mm mm-nonmm-unstable branch. Its filename is cpufreq-powerpc-add-missing-module_description-macros.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/cpufreq-powerpc-add-missing-module_description-macros.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Jeff Johnson <quic_jjohnson at quicinc.com> Subject: cpufreq: powerpc: add missing MODULE_DESCRIPTION() macros Date: Tue, 30 Jul 2024 07:43:20 -0700 With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cpufreq/ppc-cbe-cpufreq.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/cpufreq/powernv-cpufreq.o Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE(). This includes three additional files which, although they did not produce a warning with the powerpc allmodconfig configuration, may cause this warning with specific options enabled in the kernel configuration. Link: https://lkml.kernel.org/r/20240730-module_description_orphans-v1-3-7094088076c8 at quicinc.com Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com> Acked-by: Viresh Kumar <viresh.kumar at linaro.org> Acked-by: Michael Ellerman <mpe at ellerman.id.au> Cc: Alexandre Torgue <alexandre.torgue at foss.st.com> Cc: Alistar Popple <alistair at popple.id.au> Cc: Andrew Jeffery <andrew at codeconstruct.com.au> Cc: Andy Lutomirski <luto at kernel.org> Cc: Arnd Bergmann <arnd at arndb.de> Cc: Boqun Feng <boqun.feng at gmail.com> Cc: Borislav Petkov <bp at alien8.de> Cc: Christophe Leroy <christophe.leroy at csgroup.eu> Cc: Dave Hansen <dave.hansen at linux.intel.com> Cc: Eddie James <eajames at linux.ibm.com> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org> Cc: "H. Peter Anvin" <hpa at zytor.com> Cc: Ingo Molnar <mingo at redhat.com> Cc: Jeremy Kerr <jk at ozlabs.org> Cc: Joel Stanley <joel at jms.id.au> Cc: Karol Herbst <karolherbst at gmail.com> Cc: Masami Hiramatsu <mhiramat at kernel.org> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com> Cc: Naveen N Rao <naveen at kernel.org> Cc: Nicholas Piggin <npiggin at gmail.com> Cc: Nouveau <nouveau at lists.freedesktop.org> Cc: Pekka Paalanen <ppaalanen at gmail.com> Cc: Peter Zijlstra <peterz at infradead.org> Cc: Rafael J. Wysocki <rafael at kernel.org> Cc: Russell King <linux at armlinux.org.uk> Cc: Steven Rostedt (Google) <rostedt at goodmis.org> Cc: Thomas Gleixner <tglx at linutronix.de> Cc: Waiman Long <longman at redhat.com> Cc: Will Deacon <will at kernel.org> Signed-off-by: Andrew Morton <akpm at linux-foundation.org> --- drivers/cpufreq/maple-cpufreq.c | 1 + drivers/cpufreq/pasemi-cpufreq.c | 1 + drivers/cpufreq/pmac64-cpufreq.c | 1 + drivers/cpufreq/powernv-cpufreq.c | 1 + drivers/cpufreq/ppc_cbe_cpufreq.c | 1 + 5 files changed, 5 insertions(+) --- a/drivers/cpufreq/maple-cpufreq.c~cpufreq-powerpc-add-missing-module_description-macros +++ a/drivers/cpufreq/maple-cpufreq.c @@ -238,4 +238,5 @@ bail_noprops: module_init(maple_cpufreq_init); +MODULE_DESCRIPTION("cpufreq driver for Maple 970FX/970MP boards"); MODULE_LICENSE("GPL"); --- a/drivers/cpufreq/pasemi-cpufreq.c~cpufreq-powerpc-add-missing-module_description-macros +++ a/drivers/cpufreq/pasemi-cpufreq.c @@ -269,5 +269,6 @@ static void __exit pas_cpufreq_exit(void module_init(pas_cpufreq_init); module_exit(pas_cpufreq_exit); +MODULE_DESCRIPTION("cpufreq driver for PA Semi PWRficient"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Egor Martovetsky <egor at pasemi.com>, Olof Johansson <olof at lixom.net>"); --- a/drivers/cpufreq/pmac64-cpufreq.c~cpufreq-powerpc-add-missing-module_description-macros +++ a/drivers/cpufreq/pmac64-cpufreq.c @@ -671,4 +671,5 @@ static int __init g5_cpufreq_init(void) module_init(g5_cpufreq_init); +MODULE_DESCRIPTION("cpufreq driver for SMU & 970FX based G5 Macs"); MODULE_LICENSE("GPL"); --- a/drivers/cpufreq/powernv-cpufreq.c~cpufreq-powerpc-add-missing-module_description-macros +++ a/drivers/cpufreq/powernv-cpufreq.c @@ -1160,5 +1160,6 @@ static void __exit powernv_cpufreq_exit( } module_exit(powernv_cpufreq_exit); +MODULE_DESCRIPTION("cpufreq driver for IBM/OpenPOWER powernv systems"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com>"); --- a/drivers/cpufreq/ppc_cbe_cpufreq.c~cpufreq-powerpc-add-missing-module_description-macros +++ a/drivers/cpufreq/ppc_cbe_cpufreq.c @@ -168,5 +168,6 @@ static void __exit cbe_cpufreq_exit(void module_init(cbe_cpufreq_init); module_exit(cbe_cpufreq_exit); +MODULE_DESCRIPTION("cpufreq driver for Cell BE processors"); MODULE_LICENSE("GPL"); MODULE_AUTHOR("Christian Krafft <krafft at de.ibm.com>"); _ Patches currently in -mm which might be from quic_jjohnson at quicinc.com are lib-test_objpool-add-missing-module_description-macro.patch crypto-arm-xor-add-missing-module_description-macro.patch x86-mm-add-testmmiotrace-module_description.patch cpufreq-powerpc-add-missing-module_description-macros.patch fsi-add-missing-module_description-macros.patch locking-ww_mutex-test-add-module_description.patch
Apparently Analagous Threads
- [merged] cpufreq-powerpc-add-missing-module_description-macros.patch removed from -mm tree
- + locking-ww_mutex-test-add-module_description.patch added to mm-nonmm-unstable branch
- + x86-mm-add-testmmiotrace-module_description.patch added to mm-nonmm-unstable branch
- + crypto-arm-xor-add-missing-module_description-macro.patch added to mm-nonmm-unstable branch
- + fsi-add-missing-module_description-macros.patch added to mm-nonmm-unstable branch