net: fill in MODULE_DESCRIPTION()s under net/802*

W=1 builds now warn if module is built without a MODULE_DESCRIPTION().

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Jakub Kicinski 2023-10-27 14:13:10 -07:00 committed by David S. Miller
parent beb5eed32a
commit ce1afe2804
7 changed files with 7 additions and 0 deletions

View File

@ -175,4 +175,5 @@ struct net_device *alloc_fddidev(int sizeof_priv)
} }
EXPORT_SYMBOL(alloc_fddidev); EXPORT_SYMBOL(alloc_fddidev);
MODULE_DESCRIPTION("Core routines for FDDI network devices");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -21,6 +21,7 @@
static unsigned int garp_join_time __read_mostly = 200; static unsigned int garp_join_time __read_mostly = 200;
module_param(garp_join_time, uint, 0644); module_param(garp_join_time, uint, 0644);
MODULE_PARM_DESC(garp_join_time, "Join time in ms (default 200ms)"); MODULE_PARM_DESC(garp_join_time, "Join time in ms (default 200ms)");
MODULE_DESCRIPTION("IEEE 802.1D Generic Attribute Registration Protocol (GARP)");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static const struct garp_state_trans { static const struct garp_state_trans {

View File

@ -26,6 +26,7 @@ static unsigned int mrp_periodic_time __read_mostly = 1000;
module_param(mrp_periodic_time, uint, 0644); module_param(mrp_periodic_time, uint, 0644);
MODULE_PARM_DESC(mrp_periodic_time, "Periodic time in ms (default 1s)"); MODULE_PARM_DESC(mrp_periodic_time, "Periodic time in ms (default 1s)");
MODULE_DESCRIPTION("IEEE 802.1Q Multiple Registration Protocol (MRP)");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static const u8 static const u8

View File

@ -60,4 +60,5 @@ void unregister_8022_client(struct datalink_proto *proto)
EXPORT_SYMBOL(register_8022_client); EXPORT_SYMBOL(register_8022_client);
EXPORT_SYMBOL(unregister_8022_client); EXPORT_SYMBOL(unregister_8022_client);
MODULE_DESCRIPTION("Support for 802.2 demultiplexing off Ethernet");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -160,4 +160,5 @@ void unregister_snap_client(struct datalink_proto *proto)
kfree(proto); kfree(proto);
} }
MODULE_DESCRIPTION("SNAP data link layer. Derived from 802.2");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -98,4 +98,5 @@ void stp_proto_unregister(const struct stp_proto *proto)
} }
EXPORT_SYMBOL_GPL(stp_proto_unregister); EXPORT_SYMBOL_GPL(stp_proto_unregister);
MODULE_DESCRIPTION("SAP demux for IEEE 802.1D Spanning Tree Protocol (STP)");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -738,5 +738,6 @@ static void __exit vlan_cleanup_module(void)
module_init(vlan_proto_init); module_init(vlan_proto_init);
module_exit(vlan_cleanup_module); module_exit(vlan_cleanup_module);
MODULE_DESCRIPTION("802.1Q/802.1ad VLAN Protocol");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION); MODULE_VERSION(DRV_VERSION);