Skip to content
Commit 95b1bc20 authored by David Brownell's avatar David Brownell Committed by David Woodhouse
Browse files

[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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 771999b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment