Skip to content

Commit beb5eed

Browse files
kuba-moodavem330
authored andcommitted
net: fill in MODULE_DESCRIPTION()s under net/core
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Reviewed-by: Oleksij Rempel <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1fff1f7 commit beb5eed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

net/core/dev_addr_lists_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,5 @@ static struct kunit_suite dev_addr_test_suite = {
233233
};
234234
kunit_test_suite(dev_addr_test_suite);
235235

236+
MODULE_DESCRIPTION("KUnit tests for struct netdev_hw_addr_list");
236237
MODULE_LICENSE("GPL");

net/core/selftests.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,5 +405,6 @@ void net_selftest_get_strings(u8 *data)
405405
}
406406
EXPORT_SYMBOL_GPL(net_selftest_get_strings);
407407

408+
MODULE_DESCRIPTION("Common library for generic PHY ethtool selftests");
408409
MODULE_LICENSE("GPL v2");
409410
MODULE_AUTHOR("Oleksij Rempel <[email protected]>");

0 commit comments

Comments
 (0)