Skip to content

Commit ce1afe2

Browse files
kuba-moodavem330
authored andcommitted
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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent beb5eed commit ce1afe2

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

net/802/fddi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,5 @@ struct net_device *alloc_fddidev(int sizeof_priv)
175175
}
176176
EXPORT_SYMBOL(alloc_fddidev);
177177

178+
MODULE_DESCRIPTION("Core routines for FDDI network devices");
178179
MODULE_LICENSE("GPL");

net/802/garp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
static unsigned int garp_join_time __read_mostly = 200;
2222
module_param(garp_join_time, uint, 0644);
2323
MODULE_PARM_DESC(garp_join_time, "Join time in ms (default 200ms)");
24+
MODULE_DESCRIPTION("IEEE 802.1D Generic Attribute Registration Protocol (GARP)");
2425
MODULE_LICENSE("GPL");
2526

2627
static const struct garp_state_trans {

net/802/mrp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ static unsigned int mrp_periodic_time __read_mostly = 1000;
2626
module_param(mrp_periodic_time, uint, 0644);
2727
MODULE_PARM_DESC(mrp_periodic_time, "Periodic time in ms (default 1s)");
2828

29+
MODULE_DESCRIPTION("IEEE 802.1Q Multiple Registration Protocol (MRP)");
2930
MODULE_LICENSE("GPL");
3031

3132
static const u8

net/802/p8022.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,5 @@ void unregister_8022_client(struct datalink_proto *proto)
6060
EXPORT_SYMBOL(register_8022_client);
6161
EXPORT_SYMBOL(unregister_8022_client);
6262

63+
MODULE_DESCRIPTION("Support for 802.2 demultiplexing off Ethernet");
6364
MODULE_LICENSE("GPL");

net/802/psnap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,5 @@ void unregister_snap_client(struct datalink_proto *proto)
160160
kfree(proto);
161161
}
162162

163+
MODULE_DESCRIPTION("SNAP data link layer. Derived from 802.2");
163164
MODULE_LICENSE("GPL");

net/802/stp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,5 @@ void stp_proto_unregister(const struct stp_proto *proto)
9898
}
9999
EXPORT_SYMBOL_GPL(stp_proto_unregister);
100100

101+
MODULE_DESCRIPTION("SAP demux for IEEE 802.1D Spanning Tree Protocol (STP)");
101102
MODULE_LICENSE("GPL");

net/8021q/vlan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,5 +738,6 @@ static void __exit vlan_cleanup_module(void)
738738
module_init(vlan_proto_init);
739739
module_exit(vlan_cleanup_module);
740740

741+
MODULE_DESCRIPTION("802.1Q/802.1ad VLAN Protocol");
741742
MODULE_LICENSE("GPL");
742743
MODULE_VERSION(DRV_VERSION);

0 commit comments

Comments
 (0)