[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240104144119.1319055-1-kuba@kernel.org>
Date: Thu, 4 Jan 2024 06:41:19 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
Jakub Kicinski <kuba@...nel.org>,
willemdebruijn.kernel@...il.com
Subject: [PATCH net-next] net: fill in MODULE_DESCRIPTION() for AF_PACKET
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add description to net/packet/af_packet.c
Signed-off-by: Jakub Kicinski <kuba@...nel.org>
---
CC: willemdebruijn.kernel@...il.com
---
net/packet/af_packet.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index 5f1757a32842..c9bbc2686690 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -4781,5 +4781,6 @@ static int __init packet_init(void)
module_init(packet_init);
module_exit(packet_exit);
+MODULE_DESCRIPTION("Packet socket support (AF_PACKET)");
MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_PACKET);
--
2.43.0
Powered by blists - more mailing lists