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

Stephen Warren swarren at wwwdotorg.org
Wed Dec 16 00:34:23 CET 2015


On 11/23/2015 04:36 PM, Joe Hershberger wrote:
> On Fri, Nov 13, 2015 at 10:03 AM, Stephen Warren <swarren at wwwdotorg.org> 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>
>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>

Were you intending someone else to apply this? I think now that Ted Chen 
has taken over the USB NIC driver (which was patch 2 in this series), 
this patch should be applied separately.


More information about the U-Boot mailing list