net: fill in MODULE_DESCRIPTION()s for xfrm
authorBreno Leitao <leitao@debian.org>
Thu, 8 Feb 2024 16:42:36 +0000 (08:42 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Feb 2024 22:12:01 +0000 (14:12 -0800)
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the XFRM interface drivers.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240208164244.3818498-2-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/xfrm/xfrm_algo.c
net/xfrm/xfrm_user.c

index 41533c631431493882a7fa427d393c4b6a753e74..e6da7e8495c9cfdc3e81eb408e444a39442a2c9b 100644 (file)
@@ -858,4 +858,5 @@ int xfrm_count_pfkey_enc_supported(void)
 }
 EXPORT_SYMBOL_GPL(xfrm_count_pfkey_enc_supported);
 
+MODULE_DESCRIPTION("XFRM Algorithm interface");
 MODULE_LICENSE("GPL");
index ad01997c3aa9dd851a3fa4ad6dd6c877eaaddd36..f037be190baeacf8a7fc4c26240dd224a39cb984 100644 (file)
@@ -3888,5 +3888,6 @@ static void __exit xfrm_user_exit(void)
 
 module_init(xfrm_user_init);
 module_exit(xfrm_user_exit);
+MODULE_DESCRIPTION("XFRM User interface");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_XFRM);