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

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

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2007-09-30 07:11:49

On Sun, 30 Sep 2007, Benjamin Herrenschmidt wrote:
quoted
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.
Because it overrides a -DDEBUG on the build command line.
That way, I know I can enable debug in that file by flicking it.
Just add #define DEBUG at the top?

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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