]> git.hungrycats.org Git - linux/commitdiff
[PATCH] netdrv gianfar: fix printk output
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Aug 2004 19:34:32 +0000 (15:34 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 19:34:32 +0000 (15:34 -0400)
From: Kumar Gala <galak@somerset.sps.mot.com>

Fix usage of printk on the output of mac address.

Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/gianfar.c

index 03388203e566fd7e2b99ff397677fa28d660e8f8..a8ceee273e3bd5fab1accf078229531e28d3f1fd 100644 (file)
@@ -307,8 +307,8 @@ static int gfar_probe(struct ocp_device *ocpdev)
        /* 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 */