mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Breno Leitao <leitao@debian.org>
To: kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com,
	edumazet@google.com,
	Steffen Klassert <steffen.klassert@secunet.com>,
	Herbert Xu <herbert@gondor.apana.org.au>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	horms@kernel.org, andrew@lunn.ch
Subject: [PATCH net v2 1/9] net: fill in MODULE_DESCRIPTION()s for xfrm
Date: Wed,  7 Feb 2024 02:19:20 -0800	[thread overview]
Message-ID: <20240207101929.484681-2-leitao@debian.org> (raw)
In-Reply-To: <20240207101929.484681-1-leitao@debian.org>

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>
---
 net/xfrm/xfrm_algo.c | 1 +
 net/xfrm/xfrm_user.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/xfrm/xfrm_algo.c b/net/xfrm/xfrm_algo.c
index 41533c631431..e6da7e8495c9 100644
--- a/net/xfrm/xfrm_algo.c
+++ b/net/xfrm/xfrm_algo.c
@@ -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");
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index ad01997c3aa9..f037be190bae 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -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);
-- 
2.39.3


  reply	other threads:[~2024-02-07 10:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07 10:19 [PATCH net v2 0/9] net: Fix MODULE_DESCRIPTION() for net (p5) Breno Leitao
2024-02-07 10:19 ` Breno Leitao [this message]
2024-02-07 11:41   ` [PATCH net v2 1/9] net: fill in MODULE_DESCRIPTION()s for xfrm Simon Horman
2024-02-07 10:19 ` [PATCH net v2 2/9] net: fill in MODULE_DESCRIPTION()s for mpoa Breno Leitao
2024-02-07 11:41   ` Simon Horman
2024-02-07 10:19 ` [PATCH net v2 3/9] net: fill in MODULE_DESCRIPTION()s for af_key Breno Leitao
2024-02-07 11:41   ` Simon Horman
2024-02-07 10:19 ` [PATCH net v2 4/9] net: fill in MODULE_DESCRIPTION()s for 6LoWPAN Breno Leitao
2024-02-07 11:41   ` Simon Horman
2024-02-28 15:44   ` patchwork-bot+bluetooth
2024-02-07 10:19 ` [PATCH net v2 5/9] net: fill in MODULE_DESCRIPTION()s for ipv6 modules Breno Leitao
2024-02-07 11:33   ` Simon Horman
2024-02-07 10:19 ` [PATCH net v2 6/9] net: fill in MODULE_DESCRIPTION()s for ipv4 modules Breno Leitao
2024-02-07 11:42   ` Simon Horman
2024-02-07 10:19 ` [PATCH net v2 7/9] net: fill in MODULE_DESCRIPTION()s for net/sched Breno Leitao
2024-02-07 11:36   ` Simon Horman
2024-02-07 15:37   ` Jakub Kicinski
2024-02-07 21:01     ` Jamal Hadi Salim
2024-02-07 21:27   ` Jamal Hadi Salim
2024-02-07 10:19 ` [PATCH net v2 8/9] net: fill in MODULE_DESCRIPTION()s for ipvtap Breno Leitao
2024-02-07 11:43   ` Simon Horman
2024-02-07 10:19 ` [PATCH net v2 9/9] net: fill in MODULE_DESCRIPTION()s for dsa_loop_bdinfo Breno Leitao
2024-02-07 11:40   ` Simon Horman
2024-02-07 22:21   ` Florian Fainelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240207101929.484681-2-leitao@debian.org \
    --to=leitao@debian.org \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=steffen.klassert@secunet.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®