Skip to content

Commit 55c9004

Browse files
kuba-moodavem330
authored andcommitted
net: fill in MODULE_DESCRIPTION()s under drivers/net/
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Acked-by: Willem de Bruijn <[email protected]> Acked-by: Jamal Hadi Salim <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Jason Wang <[email protected]> Acked-by: Taehee Yoo <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent ce1afe2 commit 55c9004

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

drivers/net/amt.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3449,5 +3449,6 @@ static void __exit amt_fini(void)
34493449
module_exit(amt_fini);
34503450

34513451
MODULE_LICENSE("GPL");
3452+
MODULE_DESCRIPTION("Driver for Automatic Multicast Tunneling (AMT)");
34523453
MODULE_AUTHOR("Taehee Yoo <[email protected]>");
34533454
MODULE_ALIAS_RTNL_LINK("amt");

drivers/net/dummy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,5 @@ static void __exit dummy_cleanup_module(void)
202202
module_init(dummy_init_module);
203203
module_exit(dummy_cleanup_module);
204204
MODULE_LICENSE("GPL");
205+
MODULE_DESCRIPTION("Dummy netdevice driver which discards all packets sent to it");
205206
MODULE_ALIAS_RTNL_LINK(DRV_NAME);

drivers/net/eql.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,4 +607,5 @@ static void __exit eql_cleanup_module(void)
607607

608608
module_init(eql_init_module);
609609
module_exit(eql_cleanup_module);
610+
MODULE_DESCRIPTION("Equalizer Load-balancer for serial network interfaces");
610611
MODULE_LICENSE("GPL");

drivers/net/ifb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,6 @@ static void __exit ifb_cleanup_module(void)
454454
module_init(ifb_init_module);
455455
module_exit(ifb_cleanup_module);
456456
MODULE_LICENSE("GPL");
457+
MODULE_DESCRIPTION("Intermediate Functional Block (ifb) netdevice driver for sharing of resources and ingress packet queuing");
457458
MODULE_AUTHOR("Jamal Hadi Salim");
458459
MODULE_ALIAS_RTNL_LINK("ifb");

drivers/net/macvtap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,5 +250,6 @@ static void __exit macvtap_exit(void)
250250
module_exit(macvtap_exit);
251251

252252
MODULE_ALIAS_RTNL_LINK("macvtap");
253+
MODULE_DESCRIPTION("MAC-VLAN based tap driver");
253254
MODULE_AUTHOR("Arnd Bergmann <[email protected]>");
254255
MODULE_LICENSE("GPL");

drivers/net/sungem_phy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,4 +1194,5 @@ int sungem_phy_probe(struct mii_phy *phy, int mii_id)
11941194
}
11951195

11961196
EXPORT_SYMBOL(sungem_phy_probe);
1197+
MODULE_DESCRIPTION("PHY drivers for the sungem Ethernet MAC driver");
11971198
MODULE_LICENSE("GPL");

drivers/net/tap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,7 @@ void tap_destroy_cdev(dev_t major, struct cdev *tap_cdev)
13991399
}
14001400
EXPORT_SYMBOL_GPL(tap_destroy_cdev);
14011401

1402+
MODULE_DESCRIPTION("Common library for drivers implementing the TAP interface");
14021403
MODULE_AUTHOR("Arnd Bergmann <[email protected]>");
14031404
MODULE_AUTHOR("Sainath Grandhi <[email protected]>");
14041405
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)