Re: [PATCH] lock assertion macros for 2.5.30

Roman Zippel (zippel@linux-m68k.org)
Thu, 8 Aug 2002 00:41:28 +0200 (CEST)


Hi,

On Thu, 8 Aug 2002, Daniel Phillips wrote:

> > +#define MUST_HOLD_RW(lock)             do { } while(0)
>
> Random gripe: don't all those do { } whiles look silly? We need
>
> #define NADA do { } while (0)

IMO "((void)0)" looks nice too.

bye, Roman

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