Searched hist:"9 f455bcb34fcab31b0eb8eec5702105c8d4bde18" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/net/ |
| H A D | eth_common.c | 9f455bcb34fcab31b0eb8eec5702105c8d4bde18 Fri Nov 25 15:30:20 UTC 2016 oliver@schinagl.nl <oliver@schinagl.nl> net: cosmetic: Make the MAC address string less magical
In u-boot printf has been extended with the %pM formatter to allow printing of MAC addresses. However buffers that want to store a MAC address cannot safely get the size. Add a define for this case so the string of a MAC address can be reliably obtained.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | net.h | 9f455bcb34fcab31b0eb8eec5702105c8d4bde18 Fri Nov 25 15:30:20 UTC 2016 oliver@schinagl.nl <oliver@schinagl.nl> net: cosmetic: Make the MAC address string less magical
In u-boot printf has been extended with the %pM formatter to allow printing of MAC addresses. However buffers that want to store a MAC address cannot safely get the size. Add a define for this case so the string of a MAC address can be reliably obtained.
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
|