lkml.org 
[lkml]   [2007]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/2] LogFS proper
    Date
    On Tuesday 08 May 2007, Thomas Gleixner wrote:
    > On Tue, 2007-05-08 at 00:00 +0200, Jörn Engel wrote:
    > > +#define packed __attribute__((__packed__))
    >
    > Please use the __attribute__((__packed__)) on your structs instead of
    > creating some extra "needs lookup" magic.

    Don't worry, we have __packed predefined for this.
    Just look in include/linux/compiler-gcc.h

    I love it, because I always forget at least one brace or undescore level :-)




    Regards

    Ingo Oeser
    -
    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: 2007-05-09 00:45    [W:0.019 / U:1.948 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site