Skip to contentSkip to conversation

net: emaclite: Fix typo in error message

PATCH Applied Jens Renner (EFE) 3 participants 3 messages Jun 2, 2013 – Jun 4, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

s/allocal/allocate/

---
Changes in v2:
- fix whitespace problem

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 v2 1/1
#1 lore raw
Quoted 15 lines · Jens Renner (EFE)

s/allocal/allocate/

---
Changes in v2:
- fix whitespace problem

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;
 	}

I have checked that it is not corrupted by email client and

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