[PATCH][netdrv gianfar] fix printk output

From: Kumar Gala
Date: Tue Aug 24 2004 - 13:34:38 EST


Andrew,

Fix usage of printk on the output of mac address.

Signed-off-by: Kumar Gala <kumar.gala@xxxxxxxxxxxxx>

--

diff -Nru a/drivers/net/gianfar.c b/drivers/net/gianfar.c
--- a/drivers/net/gianfar.c 2004-08-24 13:28:18 -05:00
+++ b/drivers/net/gianfar.c 2004-08-24 13:28:18 -05:00
@@ -307,8 +307,8 @@
/* Print out the device info */
printk(KERN_INFO DEVICE_NAME, dev->name);
for (idx = 0; idx < 6; idx++)
- printk(KERN_INFO "%2.2x%c", dev->dev_addr[idx], idx == 5 ? ' ' : ':');
- printk(KERN_INFO "\n");
+ printk("%2.2x%c", dev->dev_addr[idx], idx == 5 ? ' ' : ':');
+ printk("\n");

/* Even more device info helps when determining which kernel */
/* provided which set of benchmarks. Since this is global for all */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/