mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 22:51:32 +00:00
[media] media: ttpci: Use vsprintf %pM extension
Format mac addresses with the normal kernel extension. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
1140f919f8
commit
dd70b27eec
@ -162,9 +162,7 @@ int ttpci_eeprom_parse_mac(struct i2c_adapter *adapter, u8 *proposed_mac)
|
|||||||
}
|
}
|
||||||
|
|
||||||
memcpy(proposed_mac, decodedMAC, 6);
|
memcpy(proposed_mac, decodedMAC, 6);
|
||||||
dprintk("adapter has MAC addr = %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
|
dprintk("adapter has MAC addr = %pM\n", decodedMAC);
|
||||||
decodedMAC[0], decodedMAC[1], decodedMAC[2],
|
|
||||||
decodedMAC[3], decodedMAC[4], decodedMAC[5]);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user