Re: [PATCH 1/1] net/wireless/ibss.c: replace memcpy by ether_addr_copy

From: Fabian Frederick
Date: Mon May 12 2014 - 14:00:39 EST


On Mon, 12 May 2014 10:50:25 -0700
Joe Perches <joe@xxxxxxxxxxx> wrote:

> On Mon, 2014-05-12 at 19:30 +0200, Fabian Frederick wrote:
> > This patch also fixes some comment checkpatch warnings
>
> Hello Fabian.
>
> For all the patches that replace memcpy(foo, bar, ETH_ALEN)
> with ether_addr_copy, did you use a tool to verify both
> arguments are __aligned(2) or did you do the verification
> visually?

Hello Joe,

I only replaced ETH_ALEN/memcpy .
AFAICS ETH_ALEN is defined 6 ...

Fabian

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/