mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
Merge branch 'fix-module_description-for-net-p2'
Breno Leitao says: ==================== Fix MODULE_DESCRIPTION() for net (p2) There are hundreds of network modules that misses MODULE_DESCRIPTION(), causing a warnning when compiling with W=1. Example: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/arcnet/com90io.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/arcnet/arc-rimi.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/arcnet/com20020.o This part2 of the patchset focus on the drivers/net/ethernet drivers. There are still some missing warnings in drivers/net/ethernet that will be fixed in an upcoming patchset. v1: https://lore.kernel.org/all/20240122184543.2501493-2-leitao@debian.org/ ==================== Link: https://lore.kernel.org/r/20240123190332.677489-1-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
77be22473b
19 changed files with 19 additions and 0 deletions
|
@ -100,4 +100,5 @@ static void __exit ns8390_module_exit(void)
|
|||
module_init(ns8390_module_init);
|
||||
module_exit(ns8390_module_exit);
|
||||
#endif /* MODULE */
|
||||
MODULE_DESCRIPTION("National Semiconductor 8390 core driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -102,4 +102,5 @@ static void __exit NS8390p_cleanup_module(void)
|
|||
|
||||
module_init(NS8390p_init_module);
|
||||
module_exit(NS8390p_cleanup_module);
|
||||
MODULE_DESCRIPTION("National Semiconductor 8390 core for ISA driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -610,4 +610,5 @@ static int init_pcmcia(void)
|
|||
return 1;
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("National Semiconductor 8390 Amiga PCMCIA ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -270,4 +270,5 @@ static void __exit hydra_cleanup_module(void)
|
|||
module_init(hydra_init_module);
|
||||
module_exit(hydra_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("Zorro-II Hydra 8390 ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -296,4 +296,5 @@ static void __exit stnic_cleanup(void)
|
|||
|
||||
module_init(stnic_probe);
|
||||
module_exit(stnic_cleanup);
|
||||
MODULE_DESCRIPTION("National Semiconductor DP83902AV ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -443,4 +443,5 @@ static void __exit zorro8390_cleanup_module(void)
|
|||
module_init(zorro8390_init_module);
|
||||
module_exit(zorro8390_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("Zorro NS8390-based ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -793,5 +793,6 @@ static struct platform_driver bcm4908_enet_driver = {
|
|||
};
|
||||
module_platform_driver(bcm4908_enet_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Broadcom BCM4908 Gigabit Ethernet driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_DEVICE_TABLE(of, bcm4908_enet_of_match);
|
||||
|
|
|
@ -260,4 +260,5 @@ void bcma_mdio_mii_unregister(struct mii_bus *mii_bus)
|
|||
EXPORT_SYMBOL_GPL(bcma_mdio_mii_unregister);
|
||||
|
||||
MODULE_AUTHOR("Rafał Miłecki");
|
||||
MODULE_DESCRIPTION("Broadcom iProc GBit BCMA MDIO helpers");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -362,4 +362,5 @@ module_init(bgmac_init)
|
|||
module_exit(bgmac_exit)
|
||||
|
||||
MODULE_AUTHOR("Rafał Miłecki");
|
||||
MODULE_DESCRIPTION("Broadcom iProc GBit BCMA interface driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -298,4 +298,5 @@ static struct platform_driver bgmac_enet_driver = {
|
|||
};
|
||||
|
||||
module_platform_driver(bgmac_enet_driver);
|
||||
MODULE_DESCRIPTION("Broadcom iProc GBit platform interface driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -1626,4 +1626,5 @@ int bgmac_enet_resume(struct bgmac *bgmac)
|
|||
EXPORT_SYMBOL_GPL(bgmac_enet_resume);
|
||||
|
||||
MODULE_AUTHOR("Rafał Miłecki");
|
||||
MODULE_DESCRIPTION("Broadcom iProc GBit driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "octeon_network.h"
|
||||
|
||||
MODULE_AUTHOR("Cavium Networks, <support@cavium.com>");
|
||||
MODULE_DESCRIPTION("Cavium LiquidIO Intelligent Server Adapter Core");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
/* OOM task polling interval */
|
||||
|
|
|
@ -868,5 +868,6 @@ static struct platform_driver ep93xx_eth_driver = {
|
|||
|
||||
module_platform_driver(ep93xx_eth_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Cirrus EP93xx Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS("platform:ep93xx-eth");
|
||||
|
|
|
@ -661,4 +661,5 @@ static struct platform_driver nps_enet_driver = {
|
|||
module_platform_driver(nps_enet_driver);
|
||||
|
||||
MODULE_AUTHOR("EZchip Semiconductor");
|
||||
MODULE_DESCRIPTION("EZchip NPS Ethernet driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
@ -3216,4 +3216,5 @@ void enetc_pci_remove(struct pci_dev *pdev)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(enetc_pci_remove);
|
||||
|
||||
MODULE_DESCRIPTION("NXP ENETC Ethernet driver");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
|
|
@ -4769,4 +4769,5 @@ static struct platform_driver fec_driver = {
|
|||
|
||||
module_platform_driver(fec_driver);
|
||||
|
||||
MODULE_DESCRIPTION("NXP Fast Ethernet Controller (FEC) driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -531,4 +531,5 @@ static struct platform_driver fsl_pq_mdio_driver = {
|
|||
|
||||
module_platform_driver(fsl_pq_mdio_driver);
|
||||
|
||||
MODULE_DESCRIPTION("Freescale PQ MDIO helpers");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -318,4 +318,5 @@ static struct platform_driver liteeth_driver = {
|
|||
module_platform_driver(liteeth_driver);
|
||||
|
||||
MODULE_AUTHOR("Joel Stanley <joel@jms.id.au>");
|
||||
MODULE_DESCRIPTION("LiteX Liteeth Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
|
|
@ -413,4 +413,5 @@ const char *otx2_mbox_id2name(u16 id)
|
|||
EXPORT_SYMBOL(otx2_mbox_id2name);
|
||||
|
||||
MODULE_AUTHOR("Marvell.");
|
||||
MODULE_DESCRIPTION("Marvell RVU NIC Mbox helpers");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
Loading…
Reference in a new issue