lkml.org 
[lkml]   [2005]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.11.3 build problem in arch/alpha/kernel/srcons.c with gcc-4.0
    On Sun, Mar 20, 2005 at 07:03:52PM -0800, Andrew Morton wrote:
    > Dan Kegel <dank@kegel.com> wrote:
    > >
    > > Anyone with an alpha care to suggest a fix for this?
    > >
    > > arch/alpha/kernel/srmcons.c: In function 'srmcons_open':
    > > arch/alpha/kernel/srmcons.c:196: warning: 'srmconsp' may be used uninitialized in this function
    > > make[1]: *** [arch/alpha/kernel/srmcons.o] Error 1
    > > make: *** [arch/alpha/kernel] Error 2
    > >
    > > I get this when building the 2.6.11.3 kernel with a recent gcc-4.0 snapshot.
    > >
    >
    > It's beyond gcc's ability to figure out that the code is OK. Options would
    > be to disable -Werror, or to artificially initialise that variable.

    I've a fix in my local tree. I'll pass it along shortly.



    r~
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:11    [W:0.020 / U:31.976 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site