Skip to contentSkip to conversation

netlink: fill in missing MODULE_DESCRIPTION()

PATCH Applied Jakub Kicinski 4 participants 5 messages Nov 2, 2023 – Nov 3, 2023

Subsystems (2)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 netlink: fill in missing MODULE_DESCRIPTION()

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

---
 net/netlink/diag.c | 1 +
 1 file changed, 1 insertion(+)
net/netlink/diag.c +1 -0
index 9c4f231be275..1eeff9422856 100644
@@ -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 */);
Signature · 1 line
2.41.0
#2 lore raw
Quoted 7 lines · Jiri Pirko
Quoted 4 lines · Thu, Nov 02, 2023 at 05:57:24AM CET, [email protected] wrote:

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

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?

author maintainer
#3 lore raw
Quoted 1 line · On Thu, 2 Nov 2023 13:05:33 +0100 Florian Westphal wrote:
Quoted 1 line

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...

Quoted 5 lines

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.

#4 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net.git (main) by David S. Miller <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email protected]>:

Quoted 7 lines · 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.

---
 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!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html