Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755732AbYHOXlq (ORCPT ); Fri, 15 Aug 2008 19:41:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750928AbYHOXlf (ORCPT ); Fri, 15 Aug 2008 19:41:35 -0400 Received: from agminet01.oracle.com ([141.146.126.228]:46657 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795AbYHOXle (ORCPT ); Fri, 15 Aug 2008 19:41:34 -0400 Message-ID: <21849002.1218843677714.JavaMail.oracle@acsmt301.oracle.com> Date: Fri, 15 Aug 2008 18:41:17 -0500 (CDT) From: Randy Dunlap To: David Miller Subject: Re: linux-next: Tree for August 15 (bnx2) [resend/lost] Cc: sfr@canb.auug.org.au, netdev@vger.kernel.org, mchan@broadcom.com, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org In-Reply-To: <20080815.151715.111675039.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit References: <20080815184032.3acd8032.sfr@canb.auug.org.au> <20080815084116.340ac526.randy.dunlap@oracle.com> <20080815.151715.111675039.davem@davemloft.net> X-Priority: 3 X-Mailer: Oracle Webmail Client(UIX) Content-Language: en-US Accept-Language: en-US X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1197 Lines: 35 --- Original Message --- > From: Randy Dunlap > Date: Fri, 15 Aug 2008 08:41:16 -0700 > > > When VLAN is not enabled, bnx2 build fails with: > > > > drivers/net/bnx2.c: In function 'bnx2_rx_int': > > drivers/net/bnx2.c:2959: error: dereferencing pointer to incomplete type > > drivers/net/bnx2.c:2960: error: dereferencing pointer to incomplete type > > make[2]: *** [drivers/net/bnx2.o] Error 1 > > Does this fix it for you? Yes, it does. Thanks. > diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c > index d454810..2486a65 100644 > --- a/drivers/net/bnx2.c > +++ b/drivers/net/bnx2.c > @@ -35,8 +35,8 @@ > #include > #include > #include > -#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) > #include > +#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) > #define BCM_VLAN 1 > #endif > #include -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/