Skip to content
Snippets Groups Projects
Commit ac01603d authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

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's avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: Joe Hershberger's avatarJoe Hershberger <joe.hershberger@ni.com>
Tested-by: default avatarAnand Moon <linux.amoon@gmail.com>
Reviewed-by: default avatarAnand Moon <linux.amoon@gmail.com>
parent 2218c54b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment