* [PATCH 0/1] Fix for module license in Broadcom Phy Library
@ 2015-10-13 20:40 Arun Parameswaran
2015-10-13 20:40 ` [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue Arun Parameswaran
0 siblings, 1 reply; 4+ messages in thread
From: Arun Parameswaran @ 2015-10-13 20:40 UTC (permalink / raw)
To: Florian Fainelli, David S . Miller
Cc: netdev, devicetree, linux-kernel, bcm-kernel-feedback-list,
Arun Parameswaran
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")
Arun Parameswaran (1):
net: phy: bcm-phy-lib: Fix module license issue
drivers/net/phy/bcm-phy-lib.c | 4 ++++
1 file changed, 4 insertions(+)
--
2.6.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue
2015-10-13 20:40 [PATCH 0/1] Fix for module license in Broadcom Phy Library Arun Parameswaran
@ 2015-10-13 20:40 ` Arun Parameswaran
[not found] ` <1444768812-31476-2-git-send-email-arunp-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Arun Parameswaran @ 2015-10-13 20:40 UTC (permalink / raw)
To: Florian Fainelli, David S . Miller
Cc: netdev, devicetree, linux-kernel, bcm-kernel-feedback-list,
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")
Signed-off-by: Arun Parameswaran <arunp@broadcom.com>
---
drivers/net/phy/bcm-phy-lib.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/phy/bcm-phy-lib.c b/drivers/net/phy/bcm-phy-lib.c
index 13e161e..ddb377e 100644
--- a/drivers/net/phy/bcm-phy-lib.c
+++ b/drivers/net/phy/bcm-phy-lib.c
@@ -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
@@ -207,3 +208,6 @@ int bcm_phy_enable_eee(struct phy_device *phydev)
}
EXPORT_SYMBOL_GPL(bcm_phy_enable_eee);
+MODULE_DESCRIPTION("Broadcom PHY Library");
+MODULE_LICENSE("GPL v2");
+MODULE_AUTHOR("Broadcom Corporation");
--
2.6.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue
[not found] ` <1444768812-31476-2-git-send-email-arunp-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
@ 2015-10-15 1:39 ` David Miller
2015-10-15 17:11 ` Arun Parameswaran
0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2015-10-15 1:39 UTC (permalink / raw)
To: arunp-dY08KVG/lbpWk0Htik3J/w
Cc: f.fainelli-Re5JQEeQqe8AvxtiuMwx3w, netdev-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w
From: Arun Parameswaran <arunp-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
Date: Tue, 13 Oct 2015 13:40:12 -0700
> 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")
> Signed-off-by: Arun Parameswaran <arunp-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
This patch doesn't apply to my net-next tree at all.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue
2015-10-15 1:39 ` David Miller
@ 2015-10-15 17:11 ` Arun Parameswaran
0 siblings, 0 replies; 4+ messages in thread
From: Arun Parameswaran @ 2015-10-15 17:11 UTC (permalink / raw)
To: David Miller, Arun Parameswaran
Cc: f.fainelli@gmail.com, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
bcm-kernel-feedback-list
On 15-10-14 06:39 PM, David Miller wrote:
> From: Arun Parameswaran <arunp@broadcom.com>
> Date: Tue, 13 Oct 2015 13:40:12 -0700
>
>> 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")
>> Signed-off-by: Arun Parameswaran <arunp@broadcom.com>
> This patch doesn't apply to my net-next tree at all.
There is a mismatch in the 'git diff' output, for the last 3 lines in
bcm-phy-lib.c
For some reason the patch I created has '@@ -207,3 +208,6 @@', instead of
'@@ -206,3 +207,7 @@', when created from the 'net-next'.
I will send out a patch based on the 'net-next'.
Thanks
Arun
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-15 17:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-13 20:40 [PATCH 0/1] Fix for module license in Broadcom Phy Library Arun Parameswaran
2015-10-13 20:40 ` [PATCH 1/1] net: phy: bcm-phy-lib: Fix module license issue Arun Parameswaran
[not found] ` <1444768812-31476-2-git-send-email-arunp-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
2015-10-15 1:39 ` David Miller
2015-10-15 17:11 ` Arun Parameswaran
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).