[U-Boot] [PATCH REPOST] checkpatch: ignore request to use ether_addr_copy()

Stephen Warren swarren at wwwdotorg.org
Mon Jan 25 22:34:40 CET 2016


On 01/25/2016 01:43 PM, Marek Vasut wrote:
> On Monday, January 25, 2016 at 05:48: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>
>> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
>
> +CC Tom, Simon

I believe Tom just applied the original posting of this:

http://lists.denx.de/pipermail/u-boot/2016-January/243151.html
checkpatch: ignore request to use ether_addr_copy()


More information about the U-Boot mailing list