Message ID | 20240108181610.2697017-3-leitao@debian.org (mailing list archive) |
---|---|
State | Accepted |
Commit | e1b1d282d5ccabbf17e5556191af248a35293e16 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fix MODULE_DESCRIPTION() for net (p1) | expand |
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 @@ static void sl_keepalive(struct timer_list *t) } #endif +MODULE_DESCRIPTION("SLIP (serial line) protocol module"); MODULE_LICENSE("GPL"); MODULE_ALIAS_LDISC(N_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> --- drivers/net/slip/slhc.c | 1 + drivers/net/slip/slip.c | 1 + 2 files changed, 2 insertions(+)