netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net] netlink: fill in missing MODULE_DESCRIPTION()
@ 2023-11-02  4:57 Jakub Kicinski
  2023-11-02 12:02 ` Jiri Pirko
  2023-11-03 11:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 5+ messages in thread
From: Jakub Kicinski @ 2023-11-02  4:57 UTC (permalink / raw)
  To: davem; +Cc: netdev, edumazet, pabeni, Jakub Kicinski

W=1 builds now warn if a module is built without
a MODULE_DESCRIPTION(). Fill it in for sock_diag.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
 net/netlink/diag.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/netlink/diag.c b/net/netlink/diag.c
index 9c4f231be275..1eeff9422856 100644
--- a/net/netlink/diag.c
+++ b/net/netlink/diag.c
@@ -257,5 +257,6 @@ static void __exit netlink_diag_exit(void)
 
 module_init(netlink_diag_init);
 module_exit(netlink_diag_exit);
+MODULE_DESCRIPTION("Netlink-based socket monitoring/diagnostic interface (sock_diag)");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, 16 /* AF_NETLINK */);
-- 
2.41.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH net] netlink: fill in missing MODULE_DESCRIPTION()
  2023-11-02  4:57 [PATCH net] netlink: fill in missing MODULE_DESCRIPTION() Jakub Kicinski
@ 2023-11-02 12:02 ` Jiri Pirko
  2023-11-02 12:05   ` Florian Westphal
  2023-11-03 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 1 reply; 5+ messages in thread
From: Jiri Pirko @ 2023-11-02 12:02 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: davem, netdev, edumazet, pabeni

Thu, Nov 02, 2023 at 05:57:24AM CET, kuba@kernel.org wrote:
>W=1 builds now warn if a module is built without
>a MODULE_DESCRIPTION(). Fill it in for sock_diag.
>
>Signed-off-by: Jakub Kicinski <kuba@kernel.org>

It's a bit odd to target -net with this, isn't it?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] netlink: fill in missing MODULE_DESCRIPTION()
  2023-11-02 12:02 ` Jiri Pirko
@ 2023-11-02 12:05   ` Florian Westphal
  2023-11-02 17:14     ` Jakub Kicinski
  0 siblings, 1 reply; 5+ messages in thread
From: Florian Westphal @ 2023-11-02 12:05 UTC (permalink / raw)
  To: Jiri Pirko; +Cc: Jakub Kicinski, davem, netdev, edumazet, pabeni

Jiri Pirko <jiri@resnulli.us> wrote:
> Thu, Nov 02, 2023 at 05:57:24AM CET, kuba@kernel.org wrote:
> >W=1 builds now warn if a module is built without
> >a MODULE_DESCRIPTION(). Fill it in for sock_diag.
> >
> >Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> 
> It's a bit odd to target -net with this, isn't it?

I had planned to fill the missing descriptions for
all netfilter via next nf.git PR as I consider those as
bug fixes.

Thats the regression risk here?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] netlink: fill in missing MODULE_DESCRIPTION()
  2023-11-02 12:05   ` Florian Westphal
@ 2023-11-02 17:14     ` Jakub Kicinski
  0 siblings, 0 replies; 5+ messages in thread
From: Jakub Kicinski @ 2023-11-02 17:14 UTC (permalink / raw)
  To: Florian Westphal; +Cc: Jiri Pirko, davem, netdev, edumazet, pabeni

On Thu, 2 Nov 2023 13:05:33 +0100 Florian Westphal wrote:
> > It's a bit odd to target -net with this, isn't it?  

I mostly wanted to make sure the build bot still works after
we sucked in all the code from Linus. There was no patches getting
posted but...

> I had planned to fill the missing descriptions for
> all netfilter via next nf.git PR as I consider those as
> bug fixes.
> 
> Thats the regression risk here?

+1 for getting it into net, no regression risk and it's low key
annoying to see all these warnings.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net] netlink: fill in missing MODULE_DESCRIPTION()
  2023-11-02  4:57 [PATCH net] netlink: fill in missing MODULE_DESCRIPTION() Jakub Kicinski
  2023-11-02 12:02 ` Jiri Pirko
@ 2023-11-03 11:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-11-03 11:50 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: davem, netdev, edumazet, pabeni

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:

On Wed,  1 Nov 2023 21:57:24 -0700 you wrote:
> W=1 builds now warn if a module is built without
> a MODULE_DESCRIPTION(). Fill it in for sock_diag.
> 
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> ---
>  net/netlink/diag.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [net] netlink: fill in missing MODULE_DESCRIPTION()
    https://git.kernel.org/netdev/net/c/016b9332a334

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-03 11:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-02  4:57 [PATCH net] netlink: fill in missing MODULE_DESCRIPTION() Jakub Kicinski
2023-11-02 12:02 ` Jiri Pirko
2023-11-02 12:05   ` Florian Westphal
2023-11-02 17:14     ` Jakub Kicinski
2023-11-03 11:50 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).