projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1140f91
)
[media] media: ttpci: Use vsprintf %pM extension
author
Joe Perches
<joe@perches.com>
Mon, 15 Jun 2015 02:01:45 +0000
(23:01 -0300)
committer
Mauro Carvalho Chehab
<mchehab@osg.samsung.com>
Wed, 22 Jul 2015 16:22:29 +0000
(13:22 -0300)
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>
drivers/media/pci/ttpci/ttpci-eeprom.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/ttpci/ttpci-eeprom.c
b/drivers/media/pci/ttpci/ttpci-eeprom.c
index 32d43156c54823e15e09e026b98cc50162c36b5b..c6f31f2712bc6684e775a2626bf8ffa8f7ea8662 100644
(file)
--- a/
drivers/media/pci/ttpci/ttpci-eeprom.c
+++ b/
drivers/media/pci/ttpci/ttpci-eeprom.c
@@
-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;
}