Skip to contentSkip to conversation

Fix for module license in Broadcom Phy Library

PATCH Applied Arun Parameswaran 3 participants 4 messages Oct 15, 2015 – Oct 19, 2015

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

v2 cover Fix for module license in Broadcom Phy Library

Hi
This patchset adds the module description, license & author to the Broadcom Phy Library (drivers/net/phy/bcm-phy-lib.c) introduced by the commit: a1cba5613edf5 ("net: phy: Add Broadcom phy library for common interfaces")

Changes from v1:
-Created the patch based on David Miller's 'net-next' Kernel tree

Arun Parameswaran (1):
net: phy: bcm-phy-lib: Fix module license issue

 drivers/net/phy/bcm-phy-lib.c | 5 +++++
 1 file changed, 5 insertions(+)
Signature · 6 lines
2.6.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#1 lore raw

PATCH v2 1/1 net: phy: bcm-phy-lib: Fix module license issue

The 'bcm-phy-lib.c', added as a part of the commit "net: phy: Add Broadcom phy library for common interfaces" was missing the module license. This was causing an issue when the library is built as a module; "module license 'unspecified' taints kernel".

This patch fixes the issue by adding the module license, author and description to the bcm-phy-lib.c file.

Fixes a1cba5613edf5 ("net: phy: Add Broadcom phy library for

common interfaces")

---
 drivers/net/phy/bcm-phy-lib.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/phy/bcm-phy-lib.c +5 -0
index dd79ea6..ddb377e 100644
@@ -15,6 +15,7 @@
 #include <linux/brcmphy.h>
 #include <linux/export.h>
 #include <linux/mdio.h>
+#include <linux/module.h>
 #include <linux/phy.h>
 
 #define MII_BCM_CHANNEL_WIDTH     0x2000
@@ -206,3 +207,7 @@ int bcm_phy_enable_eee(struct phy_device *phydev)
 	return 0;
 }
 EXPORT_SYMBOL_GPL(bcm_phy_enable_eee);
+
+MODULE_DESCRIPTION("Broadcom PHY Library");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Broadcom Corporation");

--
2.6.1

Acked-by on v2 1/1
#2 lore raw

Re: [PATCH v2 1/1] net: phy: bcm-phy-lib: Fix module license issue

Quoted 11 lines · Arun Parameswaran

The 'bcm-phy-lib.c', added as a part of the commit "net: phy: Add Broadcom phy library for common interfaces" was missing the module license. This was causing an issue when the library is built as a module; "module license 'unspecified' taints kernel".

This patch fixes the issue by adding the module license, author and description to the bcm-phy-lib.c file.

Fixes a1cba5613edf5 ("net: phy: Add Broadcom phy library for

common interfaces")

Quoted 28 lines
---
 drivers/net/phy/bcm-phy-lib.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/phy/bcm-phy-lib.c +5 -1
index dd79ea6..ddb377e 100644
@@ -15,6 +15,7 @@
 #include <linux/brcmphy.h>
 #include <linux/export.h>
 #include <linux/mdio.h>
+#include <linux/module.h>
 #include <linux/phy.h>
 
 #define MII_BCM_CHANNEL_WIDTH     0x2000
@@ -206,3 +207,7 @@ int bcm_phy_enable_eee(struct phy_device *phydev)
 	return 0;
 }
 EXPORT_SYMBOL_GPL(bcm_phy_enable_eee);
+
+MODULE_DESCRIPTION("Broadcom PHY Library");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Broadcom Corporation");
--

2.6.1

Signature · 1 line
Florian
maintainer Applied
#3 lore raw

Re: [PATCH v2 1/1] net: phy: bcm-phy-lib: Fix module license issue

In reply to Arun Parameswaran

From: Arun Parameswaran <[email protected]>
Date: Thu, 15 Oct 2015 10:37:13 -0700

Quoted 6 lines

The 'bcm-phy-lib.c', added as a part of the commit "net: phy: Add Broadcom phy library for common interfaces" was missing the module license. This was causing an issue when the library is built as a module; "module license 'unspecified' taints kernel".

Quoted 6 lines

This patch fixes the issue by adding the module license, author and description to the bcm-phy-lib.c file.

Fixes a1cba5613edf5 ("net: phy: Add Broadcom phy library for

common interfaces")

Applied.