From: Andy Shevchenko Date: Fri, 17 Sep 2010 08:24:46 +0000 (+0300) Subject: staging: octeon: '&pointer[0]' to 'pointer' fix X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=369ae8be423889c2ca1eed00e1eb4f5a91c17771;p=linux-beck.git staging: octeon: '&pointer[0]' to 'pointer' fix Signed-off-by: Andy Shevchenko Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/ethernet.c b/drivers/staging/octeon/ethernet.c index 9537ea4ae09d..fb568a935eef 100644 --- a/drivers/staging/octeon/ethernet.c +++ b/drivers/staging/octeon/ethernet.c @@ -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++; /*