lkml.org 
[lkml]   [2010]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 03/25] lmb: Introduce for_each_lmb() and new accessors, and use it
    From
    Date
    On Mon, 2010-05-10 at 17:39 +0200, Thomas Gleixner wrote:
    > Can you please make this:
    >
    > #define for_each_lmb(lmb_type, region, __iter) \
    > for (__iter = lmb.lmb_type.regions; \
    > region < (lmb.lmb_type.regions + lmb.lmb_type.cnt); \
    > region++)
    >
    > so we do not have the iterator name hardcoded inside the macro body.

    Oops, you are right, that's a thinko. I'll fix that.

    Cheers,
    Ben.




    \
     
     \ /
      Last update: 2010-05-12 10:17    [W:0.024 / U:30.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site