Re: [PATCH 06/17] platinumfb: Fix resource management
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-09-29 21:53:14
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/