net: phy: xgmiitorgmii: Fix non static symbol warning
Subsystems (4)
PATCH 1/1 net: phy: xgmiitorgmii: Fix non static symbol warning
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/phy/xilinx_gmii2rgmii.c:61:5: warning:
symbol 'xgmiitorgmii_probe' was not declared. Should it be static?
--- drivers/net/phy/xilinx_gmii2rgmii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/xilinx_gmii2rgmii.c +1 -1
@@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev)return 0 ; } -int xgmiitorgmii_probe (struct mdio_device *mdiodev) +static int xgmiitorgmii_probe (struct mdio_device *mdiodev) {struct device *dev = &mdiodev->dev;struct device_node *np = dev->of_node, *phy_node;
Andrew Lunn
maintainerQuoted 1 line · Wei Yongjun
From: Wei Yongjun <[email protected]>
Hi Wei
No need for the additional From:
git am will use the one in the mail header as the author of the patch, and it is in the signed-off-by as well.
Thanks
Andrew
Quoted 29 lines
Fixes the following sparse warning:
drivers/net/phy/xilinx_gmii2rgmii.c:61:5: warning:
symbol 'xgmiitorgmii_probe' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>--- drivers/net/phy/xilinx_gmii2rgmii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/phy/xilinx_gmii2rgmii.c +1
-1@@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev)return 0 ; } -int xgmiitorgmii_probe (struct mdio_device *mdiodev) +static int xgmiitorgmii_probe (struct mdio_device *mdiodev) {struct device *dev = &mdiodev->dev;struct device_node *np = dev->of_node, *phy_node;_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Andrew,
Quoted 8 lines · Andrew Lunn
Quoted 1 line · Wei Yongjun
From: Wei Yongjun <[email protected]>
Hi Wei
No need for the additional From:
git am will use the one in the mail header as the author of the patch, and it is in the signed-off-by as well.
The mail address which I sent the patch is different with the signed-of-by one, so git send-email will not remove the From line.
Regards,
Yongjun Wei
Andrew Lunn
maintainerQuoted 7 lines · Wei Yongjun
Hi Andrew,
Quoted 4 lines · Andrew Lunn
Quoted 1 line · Wei Yongjun
From: Wei Yongjun <[email protected]>
Hi Wei
Quoted 7 lines
Quoted 4 lines
No need for the additional From:
git am will use the one in the mail header as the author of the patch, and it is in the signed-off-by as well.
The mail address which I sent the patch is different with the signed-of-by one, so git send-email will not remove the From line.
Cool. git am strips it out of the commit message and uses it as the Author. I didn't know it did that.
Sorry for the noise,
Andrew
HI,
Thanks for the patch..
Quoted 8 lines · Wei Yongjun
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/phy/xilinx_gmii2rgmii.c:61:5: warning:
symbol 'xgmiitorgmii_probe' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Acked by: Kedareswara rao Appana <[email protected]>
Quoted 18 lines
--- drivers/net/phy/xilinx_gmii2rgmii.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/phy/xilinx_gmii2rgmii.c +1
-1@@ -58,7 +58,7 @@ static int xgmiitorgmii_read_status(struct phy_device *phydev)return 0 ; } -int xgmiitorgmii_probe (struct mdio_device *mdiodev) +static int xgmiitorgmii_probe (struct mdio_device *mdiodev) {struct device *dev = &mdiodev->dev;struct device_node *np = dev->of_node, *phy_node;
From: Wei Yongjun <[email protected]>
Date: Tue, 23 Aug 2016 15:06:05 +0000
Quoted 8 lines
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
drivers/net/phy/xilinx_gmii2rgmii.c:61:5: warning:
symbol 'xgmiitorgmii_probe' was not declared. Should it be static?Signed-off-by Wei Yongjun <[email protected]>
Applied.