[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subjectlinux-next: build failure
    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.
    Stephen Rothwell

    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
    This driver supports the Alacritech SLIC Technology Non-Accelerated

     \ /
      Last update: 2008-10-20 14:07    [W:0.020 / U:2.568 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site