From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build failure Date: Mon, 20 Oct 2008 23:04:20 +1100 Message-ID: <20081020230420.aa85f83b.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from chilli.pcug.org.au ([203.10.76.44]:40705 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751898AbYJTMEY (ORCPT ); Mon, 20 Oct 2008 08:04:24 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: Greg KH Cc: linux-next@vger.kernel.org, Christopher Harrer , Michael Miles , LKML , Andrew Morton , linus@vger.kernel.org Hi Greg, Today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/staging/sxg/sxg.c:77: drivers/staging/sxg/sxghif.h:859: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Compilation' drivers/staging/sxg/sxg.c: In function 'sxg_transmit_packet': drivers/staging/sxg/sxg.c:1949: error: 'SXG_SGL_BUF_SIZE' undeclared (first use in this function) drivers/staging/sxg/sxg.c:1958: error: implicit declaration of function 'SXG_SGL_BUFFER' drivers/staging/sxg/sxg.c:1958: warning: assignment makes pointer from integer without a cast drivers/staging/sxg/sxg.c: In function 'sxg_mcast_set_mask': drivers/staging/sxg/sxg.c:2846: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'u64' I applied the following patch. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ From: Stephen Rothwell Date: Mon, 20 Oct 2008 22:59:18 +1100 Subject: [PATCH] staging: sxg depends on X86 sxghif.h has code that explicitly will not build fo other architecures. Signed-off-by: Stephen Rothwell --- drivers/staging/sxg/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/staging/sxg/Kconfig b/drivers/staging/sxg/Kconfig index 1ae3508..6e6cf0b 100644 --- a/drivers/staging/sxg/Kconfig +++ b/drivers/staging/sxg/Kconfig @@ -1,6 +1,7 @@ config SXG tristate "Alacritech SLIC Technology Non-Accelerated 10Gbe support" depends on PCI && NETDEV_10000 + depends on X86 default n help This driver supports the Alacritech SLIC Technology Non-Accelerated -- 1.5.6.5