diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-19 06:30:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-19 23:09:13 +0300 |
commit | 938dbead34cd139c50c5d51cc58e18ef2f1c3d2c (patch) | |
tree | 6358823900407724dc54b861cc3ab1aa449a415d /net/ipv4/tcp_diag.c | |
parent | 5f228d7c8a539714c1e9b7e7534f76bb7979f268 (diff) | |
download | linux-938dbead34cd139c50c5d51cc58e18ef2f1c3d2c.tar.xz |
net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modules
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to all the sock diag modules in one fell swoop.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_diag.c')
-rw-r--r-- | net/ipv4/tcp_diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/tcp_diag.c b/net/ipv4/tcp_diag.c index 01b50fa79189..4cbe4b44425a 100644 --- a/net/ipv4/tcp_diag.c +++ b/net/ipv4/tcp_diag.c @@ -247,4 +247,5 @@ static void __exit tcp_diag_exit(void) module_init(tcp_diag_init); module_exit(tcp_diag_exit); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("TCP socket monitoring via SOCK_DIAG"); MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, 2-6 /* AF_INET - IPPROTO_TCP */); |