On Mon, Jun 09, 2008 at 02:19:23PM -0400, Dan McDonald wrote: > Until you do something like: > > if (foo) > timerclear(&t); /* XXX KEBE SAYS SYNTAX ERROR */ > else > something_else(); > > I thought we were trying to not be different than the rest of the world now?
Lint should be fixed to understand do {} while (0). We already have a
workaround (__lintzero) in kernelspace for this. The relevant bug:
4821302 lint should not complain about the safest way to construct complicated
macros
regards
john
