commit | 0522360e21af1bbe8b12b6956b622df2ce1fca7e | [log] [tgz] |
---|---|---|
author | oliver@schinagl.nl <oliver@schinagl.nl> | Fri Nov 25 16:30:20 2016 +0100 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Tue Feb 07 10:54:32 2017 -0600 |
tree | 9d69ec52062805b09896a80088d121cb58dde93c | |
parent | 496904b62da9875cf3985eb5f2bed1707db620fe [diff] |
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>