Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h>

From: Michael Ellerman
Date: Tue Mar 01 2016 - 17:21:26 EST


On Mon, 2016-08-02 at 22:27:04 UTC, Luis Henriques wrote:
> Instead of defining a local version of struct ethhdr use the standard
> definition from <linux/if_ether.h>.
>
> The fields in the <linux/if_ether.h> definition have different names:
> - dest -> h_dest
> - src -> h_source
> - type -> h_proto
>
> While there, use a few other standard functions/macros:
> - eth_broadcast_addr (instead of a memset)
> - ETH_ALEN
> - ETH_P_8021Q
>
> Signed-off-by: Luis Henriques <luis.henriques@xxxxxxxxxxxxx>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/497abcf6afe2d85f047fbf1373

cheers