[lkml]   [2007]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Fix empty macros in acpi.
    On Wed, Jun 13, 2007 at 01:00:29AM +0100, Al Viro wrote:
    > On Tue, Jun 12, 2007 at 07:33:09PM -0400, Dave Jones wrote:
    > > +#define DBG(x...) do { } while(0)
    > Eh... Please, stop it - if you want a function-call-like no-op returning void,
    > use ((void)0). At least that way one can say DBG(....),foo(), etc.

    They both end up compiled to nothing anyway, so I'm not bothered
    either way.. I'm not sure I follow why the syntax of that last part
    is a good thing. It looks like something we'd want to avoid rather
    than promote?


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-06-13 02:25    [W:0.021 / U:50.916 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site