net: seeq: Use %pM format specifier for MAC addresses
Convert to %pM instead of using custom code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0992b49023
commit
35e43c392b
@ -610,12 +610,9 @@ static int ether3_rx(struct net_device *dev, unsigned int maxcnt)
|
|||||||
ether3_readbuffer(dev, addrs+2, 12);
|
ether3_readbuffer(dev, addrs+2, 12);
|
||||||
|
|
||||||
if (next_ptr < RX_START || next_ptr >= RX_END) {
|
if (next_ptr < RX_START || next_ptr >= RX_END) {
|
||||||
int i;
|
|
||||||
printk("%s: bad next pointer @%04X: ", dev->name, priv(dev)->rx_head);
|
printk("%s: bad next pointer @%04X: ", dev->name, priv(dev)->rx_head);
|
||||||
printk("%02X %02X %02X %02X ", next_ptr >> 8, next_ptr & 255, status & 255, status >> 8);
|
printk("%02X %02X %02X %02X ", next_ptr >> 8, next_ptr & 255, status & 255, status >> 8);
|
||||||
for (i = 2; i < 14; i++)
|
printk("%pM %pM\n", addrs + 2, addrs + 8);
|
||||||
printk("%02X ", addrs[i]);
|
|
||||||
printk("\n");
|
|
||||||
next_ptr = priv(dev)->rx_head;
|
next_ptr = priv(dev)->rx_head;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user