* [PATCH] net: phy: dp83848: Fix sysfs naming collision warning
@ 2016-02-18 0:10 Andrew F. Davis
2016-02-18 20:53 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Andrew F. Davis @ 2016-02-18 0:10 UTC (permalink / raw)
To: Florian Fainelli, David S . Miller; +Cc: netdev, linux-kernel, Andrew F. Davis
Files in sysfs are created using the name from the phy_driver struct,
when two names are the same we may get a duplicate filename warning,
fix this.
Reported-by: kernel test robot <ying.huang@linux.intel.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
---
drivers/net/phy/dp83848.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/phy/dp83848.c b/drivers/net/phy/dp83848.c
index 556904f..03d54c4 100644
--- a/drivers/net/phy/dp83848.c
+++ b/drivers/net/phy/dp83848.c
@@ -103,7 +103,7 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl);
static struct phy_driver dp83848_driver[] = {
DP83848_PHY_DRIVER(TI_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
- DP83848_PHY_DRIVER(NS_DP83848C_PHY_ID, "TI DP83848C 10/100 Mbps PHY"),
+ DP83848_PHY_DRIVER(NS_DP83848C_PHY_ID, "NS DP83848C 10/100 Mbps PHY"),
DP83848_PHY_DRIVER(TLK10X_PHY_ID, "TI TLK10X 10/100 Mbps PHY"),
};
module_phy_driver(dp83848_driver);
--
2.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: phy: dp83848: Fix sysfs naming collision warning
2016-02-18 0:10 [PATCH] net: phy: dp83848: Fix sysfs naming collision warning Andrew F. Davis
@ 2016-02-18 20:53 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-02-18 20:53 UTC (permalink / raw)
To: afd; +Cc: f.fainelli, netdev, linux-kernel
From: "Andrew F. Davis" <afd@ti.com>
Date: Wed, 17 Feb 2016 18:10:00 -0600
> Files in sysfs are created using the name from the phy_driver struct,
> when two names are the same we may get a duplicate filename warning,
> fix this.
>
> Reported-by: kernel test robot <ying.huang@linux.intel.com>
> Signed-off-by: Andrew F. Davis <afd@ti.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-18 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-18 0:10 [PATCH] net: phy: dp83848: Fix sysfs naming collision warning Andrew F. Davis
2016-02-18 20:53 ` David Miller
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).