Skip to contentSkip to conversation

net: emaclite: Fix typo in error message

PATCH Superseded Jens Renner (EFE) 3 participants 4 messages May 31, 2013 – Jun 3, 2013

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: emaclite: Fix typo in error message

s/allocal/allocate/

---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
index aa14d8a..aaadf7e 100644
@@ -877,7 +877,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev)
 
        bus = mdiobus_alloc();
        if (!bus) {
-               dev_err(dev, "Failed to allocal mdiobus\n");
+               dev_err(dev, "Failed to allocate mdiobus\n");
                return -ENOMEM;
        }
Acked-by on v1 1/1
#1 lore raw
Quoted 12 lines · Jens Renner (EFE)

s/allocal/allocate/

---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/xilinx/xilinx_emaclite.c +0 -0
index aa14d8a..aaadf7e 100644

drivers/net/ethernet/xilinx/xilinx_emaclite.c static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev) · line 882

Quoted 7 lines
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
@@ -877,7 +877,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev)
 
        bus = mdiobus_alloc();
        if (!bus) {
-               dev_err(dev, "Failed to allocal mdiobus\n");
+               dev_err(dev, "Failed to allocate mdiobus\n");
                return -ENOMEM;
        }

Thanks,
Michal

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
maintainer
#2 lore raw

From: Michal Simek <[email protected]>
Date: Fri, 31 May 2013 12:36:34 +0200

Quoted 14 lines · Jens Renner (EFE)
Quoted 13 lines

s/allocal/allocate/

---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/xilinx/xilinx_emaclite.c +0 -0
index aa14d8a..aaadf7e 100644
@@ -877,7 +877,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev)
 
Quoted 8 lines

drivers/net/ethernet/xilinx/xilinx_emaclite.c static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev) · line 882

Quoted 6 lines
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
        bus = mdiobus_alloc();
        if (!bus) {
-               dev_err(dev, "Failed to allocal mdiobus\n");
+               dev_err(dev, "Failed to allocate mdiobus\n");
                return -ENOMEM;
        }

You're acking a patch that is corrupted by the submitter's email client and won't even apply :-)

#3 lore raw
Quoted 26 lines · David Miller

From: Michal Simek <[email protected]>
Date: Fri, 31 May 2013 12:36:34 +0200

Quoted 14 lines · Jens Renner (EFE)
Quoted 13 lines

s/allocal/allocate/

---
drivers/net/ethernet/xilinx/xilinx_emaclite.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/xilinx/xilinx_emaclite.c +0 -0
index aa14d8a..aaadf7e 100644
@@ -877,7 +877,7 @@ static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev)
 
Quoted 8 lines

drivers/net/ethernet/xilinx/xilinx_emaclite.c static int xemaclite_mdio_setup(struct net_local *lp, struct device *dev) · line 882

Quoted 6 lines
drivers/net/ethernet/xilinx/xilinx_emaclite.c +1 -1
        bus = mdiobus_alloc();
        if (!bus) {
-               dev_err(dev, "Failed to allocal mdiobus\n");
+               dev_err(dev, "Failed to allocate mdiobus\n");
                return -ENOMEM;
        }
Quoted 2 lines

You're acking a patch that is corrupted by the submitter's email client and won't even apply :-)

:-) He has sent another email regarding to phy handling and
I have applied it, resolved conflicts on the top of my emaclite changes and I thought that it was caused by my changes not because of corrupted patch. That's why I have also tested it.
For this particular case, I didn't try to apply it just wanted to let you know that I agree with this change because it fixes my typo.

Thanks,
Michal

Signature · 5 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform