* [PATCH] net: cs89x0: add MODULE_LICENSE
@ 2018-01-10 16:30 Arnd Bergmann
2018-01-15 18:27 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2018-01-10 16:30 UTC (permalink / raw)
To: David S. Miller
Cc: Russell Nelson, Arnd Bergmann, David Howells, Stefan Agner,
Stephen Hemminger, Johannes Berg, netdev, linux-kernel
This driver lacks a MODULE_LICENSE tag, leading to a Kbuild warning:
WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/cirrus/cs89x0.o
This adds license, author, and description according to the
comment block at the start of the file.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/net/ethernet/cirrus/cs89x0.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/cirrus/cs89x0.c b/drivers/net/ethernet/cirrus/cs89x0.c
index 410a0a95130b..b3e7fafee3df 100644
--- a/drivers/net/ethernet/cirrus/cs89x0.c
+++ b/drivers/net/ethernet/cirrus/cs89x0.c
@@ -1913,3 +1913,7 @@ static struct platform_driver cs89x0_driver = {
module_platform_driver_probe(cs89x0_driver, cs89x0_platform_probe);
#endif /* CONFIG_CS89x0_PLATFORM */
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Crystal Semiconductor (Now Cirrus Logic) CS89[02]0 network driver");
+MODULE_AUTHOR("Russell Nelson <nelson@crynwr.com>");
--
2.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: cs89x0: add MODULE_LICENSE
2018-01-10 16:30 [PATCH] net: cs89x0: add MODULE_LICENSE Arnd Bergmann
@ 2018-01-15 18:27 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-01-15 18:27 UTC (permalink / raw)
To: arnd
Cc: nelson, dhowells, stefan, stephen, johannes.berg, netdev, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 10 Jan 2018 17:30:22 +0100
> This driver lacks a MODULE_LICENSE tag, leading to a Kbuild warning:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/cirrus/cs89x0.o
>
> This adds license, author, and description according to the
> comment block at the start of the file.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied, thanks Arnd.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-15 18:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-10 16:30 [PATCH] net: cs89x0: add MODULE_LICENSE Arnd Bergmann
2018-01-15 18:27 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).