EDAC: Add missing MODULE_DESCRIPTION() macros
With ARCH=arm64 make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/edac/layerscape_edac_mod.o Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE(). This includes mpc85xx_edac.c and four octeon_edac-*.c files which, although they did not produce a warning with the arm64 allmodconfig configuration, may cause this warning with other configurations. [ bp: s/module/driver/ for layerscape_edac ] Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240617-md-arm64-drivers-edac-v2-1-6d6c5dd1e5da@quicinc.com
This commit is contained in:
parent
420c324d59
commit
3afa157f43
@ -69,6 +69,7 @@ static void __exit fsl_ddr_mc_exit(void)
|
|||||||
|
|
||||||
module_exit(fsl_ddr_mc_exit);
|
module_exit(fsl_ddr_mc_exit);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Freescale Layerscape EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("NXP Semiconductor");
|
MODULE_AUTHOR("NXP Semiconductor");
|
||||||
module_param(edac_op_state, int, 0444);
|
module_param(edac_op_state, int, 0444);
|
||||||
|
@ -704,6 +704,7 @@ static void __exit mpc85xx_mc_exit(void)
|
|||||||
|
|
||||||
module_exit(mpc85xx_mc_exit);
|
module_exit(mpc85xx_mc_exit);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Freescale MPC85xx Memory Controller EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Montavista Software, Inc.");
|
MODULE_AUTHOR("Montavista Software, Inc.");
|
||||||
module_param(edac_op_state, int, 0444);
|
module_param(edac_op_state, int, 0444);
|
||||||
|
@ -201,5 +201,6 @@ static struct platform_driver octeon_l2c_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(octeon_l2c_driver);
|
module_platform_driver(octeon_l2c_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Cavium Octeon Secondary Caches (L2C) EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
||||||
|
@ -319,5 +319,6 @@ static struct platform_driver octeon_lmc_edac_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(octeon_lmc_edac_driver);
|
module_platform_driver(octeon_lmc_edac_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Cavium Octeon DRAM Memory Controller (LMC) EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
||||||
|
@ -137,5 +137,6 @@ static struct platform_driver co_cache_error_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(co_cache_error_driver);
|
module_platform_driver(co_cache_error_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Cavium Octeon Primary Caches EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
||||||
|
@ -104,5 +104,6 @@ static struct platform_driver octeon_pci_driver = {
|
|||||||
};
|
};
|
||||||
module_platform_driver(octeon_pci_driver);
|
module_platform_driver(octeon_pci_driver);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Cavium Octeon PCI Controller EDAC driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
|
||||||
|
Loading…
Reference in New Issue
Block a user