Searched hist:"95 b1bc20" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 95b1bc20 Wed Jul 30 00:28:12 CDT 2008 David Brownell <dbrownell@users.sourceforge.net> [MTD] MTD_DEBUG always does compile-time typechecks
The current style for debug messages is to ensure they're always parsed by the compiler and then subjected to dead code removal. That way builds won't break only when debug options get enabled, which is common when they are stripped out early by CPP.
This patch makes CONFIG_MTD_DEBUG adopt that convention.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> 95b1bc20 Wed Jul 30 00:28:12 CDT 2008 David Brownell <dbrownell@users.sourceforge.net> [MTD] MTD_DEBUG always does compile-time typechecks The current style for debug messages is to ensure they're always parsed by the compiler and then subjected to dead code removal. That way builds won't break only when debug options get enabled, which is common when they are stripped out early by CPP. This patch makes CONFIG_MTD_DEBUG adopt that convention. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|