lkml.org 
[lkml]   [2010]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 3/3] futex: add futex_q static initializer
    From
    Date
    On Mon, 2010-11-08 at 17:42 +0100, Thomas Gleixner wrote:
    > > +#define FUTEX_Q_INIT \
    > > + { /* list gets initialized in queue_me()*/ \
    > > + .task = NULL, NULL, FUTEX_KEY_INIT \
    > > + , NULL, NULL, NULL, FUTEX_BITSET_MATCH_ANY }
    > > +
    >
    > That should be a static readonly variable with a proper C99
    > initializer.

    Well, it doesn't need to actually be an existing variable, but yeah it
    should definately use C99 initializers.


    \
     
     \ /
      Last update: 2010-11-08 19:15    [W:0.026 / U:0.992 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site