checkpatch: ignore request to use ether_addr_copy()
authorStephen Warren <swarren@nvidia.com>
Fri, 13 Nov 2015 16:03:00 +0000 (09:03 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jan 2016 16:17:52 +0000 (11:17 -0500)
commitac01603da4598b4b34ff3a5c428aa925daa12b60
tree0519891733cdf1ebcb03e52edad8862c0d800a9e
parent2218c54bc13c8045903afc05d1364439a230da1f
checkpatch: ignore request to use ether_addr_copy()

The Linux kernel, from which checkpatch originates, contains function
ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns
that it should be used in preference to memcpy() where appropriate.
U-Boot doesn't contain ether_addr_copy(), so tell checkpatch not to issue
this warning.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
.checkpatch.conf