Re: Weird Oops on 2.2.13 (how to debug this one?)

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Tue, 23 Nov 1999 10:35:39 +0100


On Mon, Nov 22, 1999 at 06:17:05PM -0500, Richard B. Johnson wrote:
> #ifdef DEBUG
> #define DEB(f) f
> #else
> #define DEB(f)
> #endif

prefer:

#define DEB(f) do { } while (0)

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/