Fix for module license in Broadcom Phy Library
Subsystems (4)
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
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.
common interfaces")
--- drivers/net/phy/bcm-phy-lib.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/net/phy/bcm-phy-lib.c +5 -0
@@ -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
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.cfile.Fixes a1cba5613edf5 ("net: phy: Add Broadcom phy library forcommon interfaces")
Quoted 28 lines
Signed-off-by Arun Parameswaran <[email protected]>--- drivers/net/phy/bcm-phy-lib.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/net/phy/bcm-phy-lib.c +5
-1@@ -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
Re: [PATCH v2 1/1] net: phy: bcm-phy-lib: Fix module license issue
In reply to Arun ParameswaranFrom: 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.cfile.Fixes a1cba5613edf5 ("net: phy: Add Broadcom phy library forcommon interfaces")
Signed-off-by Arun Parameswaran <[email protected]>
Applied.