Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc: add missing MODULE_DESCRIPTION() macros

With ARCH=powerpc, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/kernel/rtas_flash.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/sysdev/rtc_cmos_setup.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/platforms/pseries/papr_scm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/platforms/cell/spufs/spufs.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/platforms/cell/cbe_thermal.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/platforms/cell/cpufreq_spudemand.o
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/platforms/cell/cbe_powerbutton.o

Add the missing invocation of the MODULE_DESCRIPTION() macro to all
files which have a MODULE_LICENSE().

This includes 85xx/t1042rdb_diu.c and chrp/nvram.c which, although
they did not produce a warning with the powerpc allmodconfig
configuration, may cause this warning with other configurations.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240615-md-powerpc-arch-powerpc-v1-1-ba4956bea47a@quicinc.com

authored by

Jeff Johnson and committed by
Michael Ellerman
9c5f6473 50b5fed9

+9
+1
arch/powerpc/kernel/rtas_flash.c
··· 773 773 774 774 module_init(rtas_flash_init); 775 775 module_exit(rtas_flash_cleanup); 776 + MODULE_DESCRIPTION("PPC procfs firmware flash interface"); 776 777 MODULE_LICENSE("GPL");
+1
arch/powerpc/platforms/85xx/t1042rdb_diu.c
··· 149 149 150 150 early_initcall(t1042rdb_diu_init); 151 151 152 + MODULE_DESCRIPTION("Freescale T1042 DIU driver"); 152 153 MODULE_LICENSE("GPL");
+1
arch/powerpc/platforms/cell/cbe_powerbutton.c
··· 101 101 module_init(cbe_powerbutton_init); 102 102 module_exit(cbe_powerbutton_exit); 103 103 104 + MODULE_DESCRIPTION("Driver for powerbutton on IBM cell blades"); 104 105 MODULE_LICENSE("GPL"); 105 106 MODULE_AUTHOR("Christian Krafft <krafft@de.ibm.com>");
+1
arch/powerpc/platforms/cell/cbe_thermal.c
··· 381 381 } 382 382 module_exit(thermal_exit); 383 383 384 + MODULE_DESCRIPTION("Cell processor thermal driver"); 384 385 MODULE_LICENSE("GPL"); 385 386 MODULE_AUTHOR("Christian Krafft <krafft@de.ibm.com>"); 386 387
+1
arch/powerpc/platforms/cell/cpufreq_spudemand.c
··· 129 129 cpufreq_governor_init(spu_governor); 130 130 cpufreq_governor_exit(spu_governor); 131 131 132 + MODULE_DESCRIPTION("SPU-aware cpufreq governor for the cell processor"); 132 133 MODULE_LICENSE("GPL"); 133 134 MODULE_AUTHOR("Christian Krafft <krafft@de.ibm.com>");
+1
arch/powerpc/platforms/cell/spufs/inode.c
··· 822 822 } 823 823 module_exit(spufs_exit); 824 824 825 + MODULE_DESCRIPTION("SPU file system"); 825 826 MODULE_LICENSE("GPL"); 826 827 MODULE_AUTHOR("Arnd Bergmann <arndb@de.ibm.com>"); 827 828
+1
arch/powerpc/platforms/chrp/nvram.c
··· 92 92 return; 93 93 } 94 94 95 + MODULE_DESCRIPTION("PPC NVRAM device driver"); 95 96 MODULE_LICENSE("GPL v2");
+1
arch/powerpc/platforms/pseries/papr_scm.c
··· 1536 1536 module_exit(papr_scm_exit); 1537 1537 1538 1538 MODULE_DEVICE_TABLE(of, papr_scm_match); 1539 + MODULE_DESCRIPTION("PAPR Storage Class Memory interface driver"); 1539 1540 MODULE_LICENSE("GPL"); 1540 1541 MODULE_AUTHOR("IBM Corporation");
+1
arch/powerpc/sysdev/rtc_cmos_setup.c
··· 66 66 } 67 67 fs_initcall(add_rtc); 68 68 69 + MODULE_DESCRIPTION("PPC RTC CMOS driver"); 69 70 MODULE_LICENSE("GPL");