summaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-01-04 06:41:19 -0800
committerJakub Kicinski <kuba@kernel.org>2024-01-05 08:06:35 -0800
commitb8549d85983c2c494960b82aa41749db3d61fa4d (patch)
tree1293301c96298ec8d027497fc7765f2a482ca0f8 /net/packet
parent0ed6e95255e79c66a60eae033f8212447cbb6ed9 (diff)
downloadlinux-b8549d85983c2c494960b82aa41749db3d61fa4d.tar.gz
linux-b8549d85983c2c494960b82aa41749db3d61fa4d.tar.bz2
linux-b8549d85983c2c494960b82aa41749db3d61fa4d.zip
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 Acked-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20240104144119.1319055-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/packet')
-rw-r--r--net/packet/af_packet.c1
1 files changed, 1 insertions, 0 deletions
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 @@ out:
module_init(packet_init);
module_exit(packet_exit);
+MODULE_DESCRIPTION("Packet socket support (AF_PACKET)");
MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_PACKET);