Re: Kill IDE debug messages during suspend

From: Pavel Machek
Date: Sun Mar 28 2004 - 17:27:55 EST


> What about these stale #ifdefs?
> drivers/ide/ide-io.c:126:#ifdef DEBUG_PM
> drivers/ide/ide-io.c:220:#ifdef DEBUG_PM
> drivers/ide/ide-io.c:638:#ifdef DEBUG_PM
> drivers/ide/ide-io.c:662:#ifdef DEBUG_PM

I wanted to leave debugging possible...

> This patch sweeps up both DEBUG_PM and DEBUG #ifdefs in favour of pr_debug()

...but your patch looks better.

> ide-io.c | 74 ++++++++++++++++++++++++++-------------------------------------

When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at