Re: [PATCH] etherdevice: Add ether_addr_copy_unaligned
From: David Miller
Date: Mon Apr 20 2015 - 14:19:40 EST
From: Mateusz Kulikowski <mateusz.kulikowski@xxxxxxxxx>
Date: Sun, 19 Apr 2015 23:39:37 +0200
> Some drivers require copying unaligned ethernet addresses.
> Using memcpy() causes checkpatch warnings and may cause
> regressions (someone will "fix" alignment of packed structure)
>
> Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@xxxxxxxxx>
I'd rather see something like this submitted in a patch series alongside
some actual uses.
So I'm tossing this for now.
--
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/