[U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy()

Marek Vasut marex at denx.de
Sat Nov 14 01:56:37 CET 2015


On Friday, November 13, 2015 at 05:03:00 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren at nvidia.com>
> 
> 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 at nvidia.com>

Reviewed-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list