summaryrefslogtreecommitdiff
path: root/drivers/staging/octeon
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-09-17 11:24:46 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 16:10:57 -0700
commit369ae8be423889c2ca1eed00e1eb4f5a91c17771 (patch)
tree9f8f82f9a891ef3d4ba44925b425e22aab263068 /drivers/staging/octeon
parenta3cf4b42ce40492b12396ec64e734f84ace3a729 (diff)
staging: octeon: '&pointer[0]' to 'pointer' fix
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/octeon')
-rw-r--r--drivers/staging/octeon/ethernet.c2
1 files changed, 1 insertions, 1 deletions
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++;
/*