|
@@ -101,9 +101,7 @@ static int __init qnap_tsx09_check_mac_addr(const char *addr_str)
|
|
|
addr[i] = byte;
|
|
|
}
|
|
|
|
|
|
- printk(KERN_INFO "tsx09: found ethernet mac address ");
|
|
|
- for (i = 0; i < 6; i++)
|
|
|
- printk("%.2x%s", addr[i], (i < 5) ? ":" : ".\n");
|
|
|
+ printk(KERN_INFO "tsx09: found ethernet mac address %pM\n", addr);
|
|
|
|
|
|
memcpy(qnap_tsx09_eth_data.mac_addr, addr, 6);
|
|
|
|