All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
@ 2017-11-20 20:57 Jesse Chan
  2017-11-23 16:24 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse Chan @ 2017-11-20 20:57 UTC (permalink / raw)
  Cc: Jesse Chan, Andrew Lunn, Florian Fainelli, netdev, linux-kernel

This change resolves a new compile-time warning
when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/phy/cortina.o
see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

MODULE_DESCRIPTION and MODULE_AUTHOR are also added.

Signed-off-by: Jesse Chan <jc@linux.com>
---
 drivers/net/phy/cortina.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c
index 72f4228a63bb..9442db221834 100644
--- a/drivers/net/phy/cortina.c
+++ b/drivers/net/phy/cortina.c
@@ -116,3 +116,7 @@ static struct mdio_device_id __maybe_unused cortina_tbl[] = {
 };
 
 MODULE_DEVICE_TABLE(mdio, cortina_tbl);
+
+MODULE_DESCRIPTION("Cortina EDC CDR 10G Ethernet PHY driver");
+MODULE_AUTHOR("NXP");
+MODULE_LICENSE("GPL");
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE
  2017-11-20 20:57 [PATCH] net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Jesse Chan
@ 2017-11-23 16:24 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2017-11-23 16:24 UTC (permalink / raw)
  To: jc; +Cc: andrew, f.fainelli, netdev, linux-kernel

From: Jesse Chan <jc@linux.com>
Date: Mon, 20 Nov 2017 12:57:42 -0800

> This change resolves a new compile-time warning
> when built as a loadable module:
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/net/phy/cortina.o
> see include/linux/module.h for more information
> 
> This adds the license as "GPL", which matches the header of the file.
> 
> MODULE_DESCRIPTION and MODULE_AUTHOR are also added.
> 
> Signed-off-by: Jesse Chan <jc@linux.com>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-23 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20 20:57 [PATCH] net: phy: cortina: add missing MODULE_DESCRIPTION/AUTHOR/LICENSE Jesse Chan
2017-11-23 16:24 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.