summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-11-19 04:30:06 +0100
committerDavid S. Miller <davem@davemloft.net>2023-11-19 21:09:13 +0100
commit938dbead34cd139c50c5d51cc58e18ef2f1c3d2c (patch)
tree6358823900407724dc54b861cc3ab1aa449a415d /net/unix
parentocteontx2-pf: Fix memory leak during interface down (diff)
downloadlinux-938dbead34cd139c50c5d51cc58e18ef2f1c3d2c.tar.xz
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.c1
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 */);