]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
usb: add missing MODULE_DESCRIPTION() macros
authorJeff Johnson <quic_jjohnson@quicinc.com>
Tue, 18 Jun 2024 15:18:26 +0000 (08:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2024 17:18:52 +0000 (19:18 +0200)
With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/core/usbcore.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/mon/usbmon.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/class/usbtmc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/storage/uas.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/chipidea/ci_hdrc_msm.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240618-md-drivers-usb-v2-1-e9b20a5eb7f9@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_msm.c
drivers/usb/class/usbtmc.c
drivers/usb/core/usb.c
drivers/usb/mon/mon_main.c
drivers/usb/storage/uas.c

index 7b5b47ce8a0276eb0e9de4bba51608dd5aef3eb1..1661639cd2ebb7a7a55067d1af7754ad3c426888 100644 (file)
@@ -303,4 +303,5 @@ module_platform_driver(ci_hdrc_msm_driver);
 
 MODULE_ALIAS("platform:msm_hsusb");
 MODULE_ALIAS("platform:ci13xxx_msm");
+MODULE_DESCRIPTION("ChipIdea Highspeed Dual Role Controller");
 MODULE_LICENSE("GPL v2");
index 311007b1d9046566b8a155c21ef8188cca13a819..6bd9fe565385893318e85f05dc5b4bd52df5ddfa 100644 (file)
@@ -2592,4 +2592,5 @@ static struct usb_driver usbtmc_driver = {
 
 module_usb_driver(usbtmc_driver);
 
+MODULE_DESCRIPTION("USB Test & Measurement class driver");
 MODULE_LICENSE("GPL");
index a0c432b14b20ba3fd8f1a9b1716988f0c578259c..0b4685aad2d50337f3cacb2198c95a68ae8eff86 100644 (file)
@@ -1150,4 +1150,5 @@ static void __exit usb_exit(void)
 
 subsys_initcall(usb_init);
 module_exit(usb_exit);
+MODULE_DESCRIPTION("USB core host-side support");
 MODULE_LICENSE("GPL");
index 824904abe76ffb502aedef2df20f7fb7b684934b..af852d53aac699374bafcc2049f627863fb16454 100644 (file)
@@ -419,4 +419,5 @@ static void __exit mon_exit(void)
 module_init(mon_init);
 module_exit(mon_exit);
 
+MODULE_DESCRIPTION("USB Monitor");
 MODULE_LICENSE("GPL");
index a48870a87a293c0828c6e82330ac0a947ef7ba21..9b8f578eef533eb98387b7a5adfd3d5fa952cb8e 100644 (file)
@@ -1280,6 +1280,7 @@ static void __exit uas_exit(void)
 module_init(uas_init);
 module_exit(uas_exit);
 
+MODULE_DESCRIPTION("USB Attached SCSI driver");
 MODULE_LICENSE("GPL");
 MODULE_IMPORT_NS(USB_STORAGE);
 MODULE_AUTHOR(