From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbcCAWVW (ORCPT ); Tue, 1 Mar 2016 17:21:22 -0500 Received: from ozlabs.org ([103.22.144.67]:42029 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbcCAWVU (ORCPT ); Tue, 1 Mar 2016 17:21:20 -0500 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 497abcf6afe2d85f047fbf137388dbb63d2528f9 In-Reply-To: <1454970427-23017-2-git-send-email-luis.henriques@canonical.com> To: Luis Henriques , Geoff Levand , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: Joe Perches , linuxppc-dev@lists.ozlabs.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from Message-Id: <20160301222119.4D99E140273@ozlabs.org> Date: Wed, 2 Mar 2016 09:21:19 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 . > > The fields in the 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 Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/497abcf6afe2d85f047fbf1373 cheers