Re: mb800 watchdog driver

Joern Engel (joern@wohnheim.fh-wedel.de)
Thu, 13 Mar 2003 16:36:53 +0100


On Thu, 13 March 2003 15:10:33 -0100, Dave Jones wrote:
>
> in fact, these printk's should probably be something like dprintk's
> with dprintk being defined at the top of source like..
>
> #define DEBUG
> #ifndef DEBUG
> # define dprintk(format, args...)
> #else
> # define dprintk(format, args...) printk(KERN_DEBUG "mb8wdog:", ## args)
^^
> #endif

You might want to put an additional whitespace at the indicated
position, that works around a gcc 2.x bug.

Jörn

-- 
Mundie uses a textbook tactic of manipulation: start with some
reasonable talk, and lead the audience to an unreasonable conclusion.
-- Bruce Perens
-
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/