mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:46:47 +07: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);
|
||||
dprintk("adapter has MAC addr = %.2x:%.2x:%.2x:%.2x:%.2x:%.2x\n",
|
||||
decodedMAC[0], decodedMAC[1], decodedMAC[2],
|
||||
decodedMAC[3], decodedMAC[4], decodedMAC[5]);
|
||||
dprintk("adapter has MAC addr = %pM\n", decodedMAC);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user