Message ID | 20231026190101.1413939-2-kuba@kernel.org (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Kalle Valo |
Headers | show |
Series | net: fill in 18 MODULE_DESCRIPTION()s | expand |
Jakub Kicinski <kuba@kernel.org> writes: > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Fill it in for the modules I maintain. > > Signed-off-by: Jakub Kicinski <kuba@kernel.org> > --- > CC: linux-wireless@vger.kernel.org > --- > drivers/net/netdevsim/netdev.c | 1 + > drivers/net/wireless/mediatek/mt7601u/usb.c | 1 + > 2 files changed, 2 insertions(+) For wireless: Acked-by: Kalle Valo <kvalo@kernel.org>
diff --git a/drivers/net/netdevsim/netdev.c b/drivers/net/netdevsim/netdev.c index 2eac92f49631..aecaf5f44374 100644 --- a/drivers/net/netdevsim/netdev.c +++ b/drivers/net/netdevsim/netdev.c @@ -470,4 +470,5 @@ static void __exit nsim_module_exit(void) module_init(nsim_module_init); module_exit(nsim_module_exit); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("Simulated networking device for testing"); MODULE_ALIAS_RTNL_LINK(DRV_NAME); diff --git a/drivers/net/wireless/mediatek/mt7601u/usb.c b/drivers/net/wireless/mediatek/mt7601u/usb.c index cc772045d526..d2ee6540ebb2 100644 --- a/drivers/net/wireless/mediatek/mt7601u/usb.c +++ b/drivers/net/wireless/mediatek/mt7601u/usb.c @@ -365,6 +365,7 @@ static int mt7601u_resume(struct usb_interface *usb_intf) MODULE_DEVICE_TABLE(usb, mt7601u_device_table); MODULE_FIRMWARE(MT7601U_FIRMWARE); +MODULE_DESCRIPTION("MediaTek MT7601U USD Wireless LAN driver"); MODULE_LICENSE("GPL"); static struct usb_driver mt7601u_driver = {
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Fill it in for the modules I maintain. Signed-off-by: Jakub Kicinski <kuba@kernel.org> --- CC: linux-wireless@vger.kernel.org --- drivers/net/netdevsim/netdev.c | 1 + drivers/net/wireless/mediatek/mt7601u/usb.c | 1 + 2 files changed, 2 insertions(+)