Re: [PATCH 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-08 Thread Luis Henriques
Hi, On Sun, Feb 07, 2016 at 10:26:51AM -0800, Joe Perches wrote: > On Sun, 2016-02-07 at 17:38 +, Luis Henriques wrote: > > Instead of defining a local version of struct ethhdr use the standard > > definition from . > > trivia: > > > diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c > >

Re: [PATCH 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-07 Thread Joe Perches
On Sun, 2016-02-07 at 17:38 +, Luis Henriques wrote: > Instead of defining a local version of struct ethhdr use the standard > definition from . trivia: > diff --git a/arch/powerpc/platforms/ps3/gelic_udbg.c > b/arch/powerpc/platforms/ps3/gelic_udbg.c [] > @@ -173,8 +169,8 @@ static void gel

[PATCH 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-02-07 Thread Luis Henriques
Instead of defining a local version of struct ethhdr use the standard definition from . The fields in the definition have different names: - dest -> h_dest - src -> h_source - type -> h_proto Signed-off-by: Luis Henriques --- arch/powerpc/platforms/ps3/gelic_udbg.c | 16 ++-- 1