summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-02-08 17:42:38 +0100
committerJakub Kicinski <kuba@kernel.org>2024-02-09 23:12:01 +0100
commit6e2cf0eb6926a5c51bba0aca819e91d7265c849c (patch)
treef5b2df283ecec776e43f1af3532e4b35c5701688 /net
parentnet: fill in MODULE_DESCRIPTION()s for mpoa (diff)
downloadlinux-6e2cf0eb6926a5c51bba0aca819e91d7265c849c.tar.xz
linux-6e2cf0eb6926a5c51bba0aca819e91d7265c849c.zip
net: fill in MODULE_DESCRIPTION()s for af_key
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the PF_KEY socket helpers. Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240208164244.3818498-4-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/key/af_key.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index d68d01804dc7..f79fb99271ed 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3924,5 +3924,6 @@ out_unregister_key_proto:
module_init(ipsec_pfkey_init);
module_exit(ipsec_pfkey_exit);
+MODULE_DESCRIPTION("PF_KEY socket helpers");
MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_KEY);