[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160301222119.4D99E140273@ozlabs.org>
Date: Wed, 2 Mar 2016 09:21:19 +1100 (AEDT)
From: Michael Ellerman <mpe@...erman.id.au>
To: Luis Henriques <luis.henriques@...onical.com>,
Geoff Levand <geoff@...radead.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: Joe Perches <joe@...ches.com>, linuxppc-dev@...ts.ozlabs.org,
Geert Uytterhoeven <geert@...ux-m68k.org>,
linux-kernel@...r.kernel.org
Subject: Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from <linux/if_ether.h>
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@...onical.com>
Series applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/497abcf6afe2d85f047fbf1373
cheers
Powered by blists - more mailing lists