netlink: fill in missing MODULE_DESCRIPTION()
Subsystems (2)
Jakub Kicinski
maintainerPATCH 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
@@ -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
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
aMODULE_DESCRIPTION(). Fill it in forsock_diag.Signed-off-by Jakub Kicinski <[email protected]>
It's a bit odd to target -net with this, isn't it?
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
aMODULE_DESCRIPTION(). Fill it in forsock_diag.Signed-off-by Jakub Kicinski <[email protected]>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?
Jakub Kicinski
maintainerQuoted 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.
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
aMODULE_DESCRIPTION(). Fill it in forsock_diag.Signed-off-by Jakub Kicinski <[email protected]>--- 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