From patchwork Mon Oct 13 20:35:22 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roland Dreier X-Patchwork-Id: 4340 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id D0DD1DDFE3 for ; Tue, 14 Oct 2008 07:35:30 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754373AbYJMUfY (ORCPT ); Mon, 13 Oct 2008 16:35:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754110AbYJMUfY (ORCPT ); Mon, 13 Oct 2008 16:35:24 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:15008 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753050AbYJMUfX (ORCPT ); Mon, 13 Oct 2008 16:35:23 -0400 X-IronPort-AV: E=Sophos;i="4.33,405,1220227200"; d="scan'208";a="174316207" Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-6.cisco.com with ESMTP; 13 Oct 2008 20:35:23 +0000 Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id m9DKZNwh026320; Mon, 13 Oct 2008 13:35:23 -0700 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m9DKZMGA012602; Mon, 13 Oct 2008 20:35:23 GMT Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct 2008 13:35:22 -0700 Received: from roland-conroe ([10.33.42.9]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 13 Oct 2008 13:35:22 -0700 Received: by roland-conroe (Postfix, from userid 33217) id 68CF8E71E0; Mon, 13 Oct 2008 13:35:22 -0700 (PDT) From: Roland Dreier To: jeff@garzik.org Cc: scofeldm@cisco.com, netdev@vger.kernel.org Subject: [PATCH 1/2] enic: Fix build without _HAVE_ARCH_IPV6_CSUM X-Message-Flag: Warning: May contain useful information Date: Mon, 13 Oct 2008 13:35:22 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 X-OriginalArrivalTime: 13 Oct 2008 20:35:22.0649 (UTC) FILETIME=[3725E890:01C92D73] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1062; t=1223930123; x=1224794123; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rdreier@cisco.com; z=From:=20Roland=20Dreier=20 |Subject:=20[PATCH=201/2]=20enic=3A=20Fix=20build=20without =20_HAVE_ARCH_IPV6_CSUM |Sender:=20; bh=RZo2qh7rM8UmwGnkHtDhmVbSHQFeHI3eJocs4HfrDJM=; b=AZ2AG/16YziJwUxsC9rVjXJtk42fSleYsGan6cBLEPDj08MRMaZe0tCuhm zZDWoxVx4XY7ZoYAWgDZqRV3NyfJFa9G2tArYRBqJhmr8p26HyG49+QCPA3j E/8Ui2YdE4; Authentication-Results: sj-dkim-3; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Scott Feldman On architectures (such as powerpc) that don't define _HAVE_ARCH_IPV6_CSUM, the enic compile fails with drivers/net/enic/enic_main.c: In function 'enic_queue_wq_skb_tso': drivers/net/enic/enic_main.c:575: error: implicit declaration of function 'csum_ipv6_magic' Fix this by including Signed-off-by: Roland Dreier --- Jeff, this is part of a patch Scott sent a while ago (https://kerneltrap.org/mailarchive/linux-netdev/2008/9/20/3350614/thread) that seems to have gotten dropped. Please apply. drivers/net/enic/enic_main.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index f3a47a8..80119c9 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c @@ -35,6 +35,8 @@ #include #include +#include + #include "cq_enet_desc.h" #include "vnic_dev.h" #include "vnic_intr.h"