Thread (7 messages) 7 messages, 4 authors, 2007-10-03

Re: [PATCH 06/17] platinumfb: Fix resource management

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-09-29 21:53:14

Probably scripts/checkpatch.pl should be taught to complain about
`#undef DEBUG'.
Why ? Whenever I have things that are #ifdef DEBUG in the file (such as
dev_dbg statements), I always leave a #undef DEBUG statement at the top.

That way, I know I can enable debug in that file by flicking it.

Ben.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help