Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357721

[PATCH 1/3] phy: mdio-cavium: Add missing MODULE_* annotations.

From David Daney <ddaney.cavm@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] phy: mdio-cavium: Add missing MODULE_* annotations.
Date 2016-03-15 01:40 +0100
Message-ID <rcLbI-2RA-9@gated-at.bofh.it> (permalink)
References <rcLbI-2RA-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: David Daney <david.daney@cavium.com>

When the code was factored out of mdio-octeon.c, the
MODULE_DESCRIPTION, MODULE_AUTHOR and MODULE_LICENSE annotations were
inadvertently omitted.  Restore them so that we don't get kernel taint
warnings upon module loading.

Signed-off-by: David Daney <david.daney@cavium.com>
---
 drivers/net/phy/mdio-cavium.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/phy/mdio-cavium.c b/drivers/net/phy/mdio-cavium.c
index e796ee1..6df2fa7 100644
--- a/drivers/net/phy/mdio-cavium.c
+++ b/drivers/net/phy/mdio-cavium.c
@@ -147,3 +147,7 @@ int cavium_mdiobus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val)
 	return 0;
 }
 EXPORT_SYMBOL(cavium_mdiobus_write);
+
+MODULE_DESCRIPTION("Common code for OCTEON and Thunder MDIO bus drivers");
+MODULE_AUTHOR("David Daney");
+MODULE_LICENSE("GPL");
-- 
1.7.11.7

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] net/phy: Fixes for Cavium Thunder MDIO code. David Daney <ddaney.cavm@gmail.com> - 2016-03-15 01:40 +0100
  [PATCH 1/3] phy: mdio-cavium: Add missing MODULE_* annotations. David Daney <ddaney.cavm@gmail.com> - 2016-03-15 01:40 +0100
  [PATCH 3/3] net: thunderx: Don't leak phy device references on -EPROBE_DEFER condition. David Daney <ddaney.cavm@gmail.com> - 2016-03-15 01:40 +0100

csiph-web