diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-18 19:30:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-19 20:09:13 +0000 |
commit | 938dbead34cd139c50c5d51cc58e18ef2f1c3d2c (patch) | |
tree | 6358823900407724dc54b861cc3ab1aa449a415d /net/unix | |
parent | 5f228d7c8a539714c1e9b7e7534f76bb7979f268 (diff) | |
download | linux-938dbead34cd139c50c5d51cc58e18ef2f1c3d2c.tar.gz linux-938dbead34cd139c50c5d51cc58e18ef2f1c3d2c.tar.bz2 linux-938dbead34cd139c50c5d51cc58e18ef2f1c3d2c.zip |
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/unix')
-rw-r--r-- | net/unix/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unix/diag.c b/net/unix/diag.c index 616b55c5b890..bec09a3a1d44 100644 --- a/net/unix/diag.c +++ b/net/unix/diag.c @@ -339,4 +339,5 @@ static void __exit unix_diag_exit(void) module_init(unix_diag_init); module_exit(unix_diag_exit); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("UNIX socket monitoring via SOCK_DIAG"); MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, 1 /* AF_LOCAL */); |