Re: *(int*)0 = 0 & variations

Steve Dodd (dirk@loth.demon.co.uk)
Wed, 23 Jun 1999 02:41:31 +0100


On Tue, Jun 22, 1999 at 07:23:10PM -0400, Joshua M. Thompson wrote:

[dprintk]
> Except for the per-module part this sounds an awful lot like
> console_loglevel and the various KERN_xxx prefixes for printk()'s.

But if you use e.g. printk( KERN_DEBUG .., that won't get compiled out if
debug messages are disabled. using #define means you can #define it to nothing
if debug messages are turned off in the config.

-- 
If you think the problem is bad now, just wait until we've solved it.
                -- Arthur Kasspe

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