summaryrefslogtreecommitdiffstats
path: root/drivers/net/slip
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-01-08 10:16:02 -0800
committerJakub Kicinski <kuba@kernel.org>2024-01-11 16:16:08 -0800
commite1b1d282d5ccabbf17e5556191af248a35293e16 (patch)
tree96579641604b611ca87175c626ea6148b5c2323e /drivers/net/slip
parent3e7aeb78ab01c2c2f0e1f784e5ddec88fcd3d106 (diff)
downloadlinux-e1b1d282d5ccabbf17e5556191af248a35293e16.tar.gz
linux-e1b1d282d5ccabbf17e5556191af248a35293e16.tar.bz2
linux-e1b1d282d5ccabbf17e5556191af248a35293e16.zip
net: fill in MODULE_DESCRIPTION()s for SLIP
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Serial Line (SLIP) protocol modules. Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://lore.kernel.org/r/20240108181610.2697017-3-leitao@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/slip')
-rw-r--r--drivers/net/slip/slhc.c1
-rw-r--r--drivers/net/slip/slip.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index ba93bab948e0..18df7ca66198 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -752,4 +752,5 @@ EXPORT_SYMBOL(slhc_compress);
EXPORT_SYMBOL(slhc_uncompress);
EXPORT_SYMBOL(slhc_toss);
+MODULE_DESCRIPTION("Compression helpers for SLIP (serial line)");
MODULE_LICENSE("Dual BSD/GPL");
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c
index e4280e37fec9..0aba3569ccc0 100644
--- a/drivers/net/slip/slip.c
+++ b/drivers/net/slip/slip.c
@@ -1437,5 +1437,6 @@ out:
}
#endif
+MODULE_DESCRIPTION("SLIP (serial line) protocol module");
MODULE_LICENSE("GPL");
MODULE_ALIAS_LDISC(N_SLIP);