diff options
author | Jakub Kicinski | 2024-01-04 06:41:19 -0800 |
---|---|---|
committer | Jakub Kicinski | 2024-01-05 08:06:35 -0800 |
commit | b8549d85983c2c494960b82aa41749db3d61fa4d (patch) | |
tree | 1293301c96298ec8d027497fc7765f2a482ca0f8 /net/packet | |
parent | 0ed6e95255e79c66a60eae033f8212447cbb6ed9 (diff) |
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.c | 1 |
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); |