[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240205101400.1480521-9-leitao@debian.org>
Date: Mon, 5 Feb 2024 02:13:57 -0800
From: Breno Leitao <leitao@...ian.org>
To: kuba@...nel.org,
davem@...emloft.net,
pabeni@...hat.com,
edumazet@...gle.com,
Alexander Aring <alex.aring@...il.com>,
Stefan Schmidt <stefan@...enfreihafen.org>,
Miquel Raynal <miquel.raynal@...tlin.com>
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
horms@...nel.org,
andrew@...n.ch,
linux-wpan@...r.kernel.org (open list:IEEE 802.15.4 SUBSYSTEM)
Subject: [PATCH net 08/10] net: fill in MODULE_DESCRIPTION()s for ieee802154
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to the IEEE 802.15.4 socket and 6lowpan modules.
Signed-off-by: Breno Leitao <leitao@...ian.org>
---
net/ieee802154/6lowpan/core.c | 1 +
net/ieee802154/socket.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/net/ieee802154/6lowpan/core.c b/net/ieee802154/6lowpan/core.c
index 2c087b7f17c5..d19bc9314374 100644
--- a/net/ieee802154/6lowpan/core.c
+++ b/net/ieee802154/6lowpan/core.c
@@ -280,5 +280,6 @@ static void __exit lowpan_cleanup_module(void)
module_init(lowpan_init_module);
module_exit(lowpan_cleanup_module);
+MODULE_DESCRIPTION("IEEE 802.15.4 IPv6 over Low-Power Wireless Personal Area Network module");
MODULE_LICENSE("GPL");
MODULE_ALIAS_RTNL_LINK("lowpan");
diff --git a/net/ieee802154/socket.c b/net/ieee802154/socket.c
index 00302e8b9615..a93b592c2f83 100644
--- a/net/ieee802154/socket.c
+++ b/net/ieee802154/socket.c
@@ -1136,5 +1136,6 @@ static void __exit af_ieee802154_remove(void)
module_init(af_ieee802154_init);
module_exit(af_ieee802154_remove);
+MODULE_DESCRIPTION("IEEE 802.15.4 socket interface");
MODULE_LICENSE("GPL");
MODULE_ALIAS_NETPROTO(PF_IEEE802154);
--
2.39.3
Powered by blists - more mailing lists