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>
This commit is contained in:
Родитель
a3cf4b42ce
Коммит
369ae8be42
|
@ -465,7 +465,7 @@ int cvm_oct_common_init(struct net_device *dev)
|
||||||
|
|
||||||
if (cvm_oct_mac_addr_offset >= octeon_bootinfo->mac_addr_count)
|
if (cvm_oct_mac_addr_offset >= octeon_bootinfo->mac_addr_count)
|
||||||
printk(KERN_DEBUG "%s: Using MAC outside of the assigned range:"
|
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++;
|
cvm_oct_mac_addr_offset++;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче