net: amd: add missing MODULE_DESCRIPTION() macros
With ARCH=m68k, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/a2065.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/ariadne.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/atarilance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/hplance.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/7990.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/mvme147.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/net/ethernet/amd/sun3lance.o Add the missing invocation of the MODULE_DESCRIPTION() macro to all files which have a MODULE_LICENSE(). This includes drivers/net/ethernet/amd/lance.c which, although it did not produce a warning with the m68k allmodconfig configuration, may cause this warning with other configurations. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240618-md-m68k-drivers-net-ethernet-amd-v1-1-50ee7a9ad50e@quicinc.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
e6fed01554
commit
deb9d57662
@ -667,4 +667,5 @@ void lance_poll(struct net_device *dev)
|
||||
EXPORT_SYMBOL_GPL(lance_poll);
|
||||
#endif
|
||||
|
||||
MODULE_DESCRIPTION("LANCE Ethernet IC generic routines");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -781,4 +781,5 @@ static void __exit a2065_cleanup_module(void)
|
||||
module_init(a2065_init_module);
|
||||
module_exit(a2065_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("Commodore A2065 Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -790,4 +790,5 @@ static void __exit ariadne_cleanup_module(void)
|
||||
module_init(ariadne_init_module);
|
||||
module_exit(ariadne_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("Ariadne Ethernet Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -79,6 +79,7 @@ static int lance_debug = 1;
|
||||
#endif
|
||||
module_param(lance_debug, int, 0);
|
||||
MODULE_PARM_DESC(lance_debug, "atarilance debug level (0-3)");
|
||||
MODULE_DESCRIPTION("Atari LANCE Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
/* Print debug messages on probing? */
|
||||
|
@ -234,4 +234,5 @@ static void __exit hplance_cleanup_module(void)
|
||||
module_init(hplance_init_module);
|
||||
module_exit(hplance_cleanup_module);
|
||||
|
||||
MODULE_DESCRIPTION("HP300 on-board LANCE Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -385,6 +385,7 @@ static void __exit lance_cleanup_module(void)
|
||||
}
|
||||
module_exit(lance_cleanup_module);
|
||||
#endif /* MODULE */
|
||||
MODULE_DESCRIPTION("AMD LANCE/PCnet Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
|
||||
|
@ -178,6 +178,7 @@ static int m147lance_close(struct net_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("MVME147 LANCE Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
static struct net_device *dev_mvme147_lance;
|
||||
|
@ -74,6 +74,7 @@ static int lance_debug = 1;
|
||||
#endif
|
||||
module_param(lance_debug, int, 0);
|
||||
MODULE_PARM_DESC(lance_debug, "SUN3 Lance debug level (0-3)");
|
||||
MODULE_DESCRIPTION("Sun3/Sun3x on-board LANCE Ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
#define DPRINTK(n,a) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user