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

usb: common: add missing MODULE_DESCRIPTION() macros

With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/common/usb-common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/common/usb-otg-fsm.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/20240611-md-drivers-usb-common-v1-1-f81555b0bd0d@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jeff Johnson and committed by
Greg Kroah-Hartman
5a94c9a3 546a7650

+2
+1
drivers/usb/common/common.c
··· 433 433 subsys_initcall(usb_common_init); 434 434 module_exit(usb_common_exit); 435 435 436 + MODULE_DESCRIPTION("Common code for host and device side USB"); 436 437 MODULE_LICENSE("GPL");
+1
drivers/usb/common/usb-otg-fsm.c
··· 449 449 return fsm->state_changed; 450 450 } 451 451 EXPORT_SYMBOL_GPL(otg_statemachine); 452 + MODULE_DESCRIPTION("OTG Finite State Machine"); 452 453 MODULE_LICENSE("GPL");