Re: [PATCH] lock assertion macros for 2.5.30

From: Roman Zippel (zippel@linux-m68k.org)
Date: Wed Aug 07 2002 - 17:41:28 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:38 EST