staging: octeon: '&pointer[0]' to 'pointer' fix
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 17 Sep 2010 08:24:46 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 23:10:57 +0000 (16:10 -0700)
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/octeon/ethernet.c

index 9537ea4ae09d21805b8dfef6d3d02f00955cb86d..fb568a935eef66c66ab60d1f24e739590a79cc18 100644 (file)
@@ -465,7 +465,7 @@ int cvm_oct_common_init(struct net_device *dev)
 
        if (cvm_oct_mac_addr_offset >= octeon_bootinfo->mac_addr_count)
                printk(KERN_DEBUG "%s: Using MAC outside of the assigned range:"
-                       " %pM\n", dev->name, &sa.sa_data[0]);
+                       " %pM\n", dev->name, sa.sa_data);
        cvm_oct_mac_addr_offset++;
 
        /*