lkml.org 
[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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.
    --
    Cheers,
    Stephen Rothwell sfr@canb.auug.org.au
    http://www.canb.auug.org.au/~sfr/

    From: Stephen Rothwell <sfr@canb.auug.org.au>
    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 <sfr@canb.auug.org.au>
    ---
    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


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