From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756827AbcBHW1c (ORCPT ); Mon, 8 Feb 2016 17:27:32 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:55664 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756530AbcBHW11 (ORCPT ); Mon, 8 Feb 2016 17:27:27 -0500 From: Luis Henriques To: Geoff Levand , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: Joe Perches , Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] powerpc/ps3: gelic_udbg: drop local versions of network data structs Date: Mon, 8 Feb 2016 22:27:03 +0000 Message-Id: <1454970427-23017-1-git-send-email-luis.henriques@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Several network-related data structures are defined in gelic_udbg. These could be easily dropped and the standard ones defined in network headers could be used instead. The 4 patches that follow replace ethernet, vlan, ip and udp structures in gelic_udbg. Note that this has been compile-tested only. Changes since v1: Include changes suggested by Joe Perches, namely the usage of eth_broadcast_addr(), ETH_ALEN, ETH_P_8021Q and ETH_P_IP. Luis Henriques (4): powerpc/ps3: gelic_udbg: use struct ethhdr from powerpc/ps3: gelic_udbg: use struct vlan_hdr from powerpc/ps3: gelic_udbg: use struct iphdr from powerpc/ps3: gelic_udbg: use struct udphdr from arch/powerpc/platforms/ps3/gelic_udbg.c | 72 +++++++++++---------------------- 1 file changed, 24 insertions(+), 48 deletions(-)