diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-02-12 13:26:31 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-17 11:31:58 +0300 |
commit | a4f0fcdfb2397e81d22446bb364dc190bf16b25a (patch) | |
tree | 1261dcd0a2a4bf52065b0c9dedd4b730b6eed6cd /drivers/mtd/ubi/debug.h | |
parent | f4988927a257791d372dddeda8eda8521bf6cb00 (diff) | |
download | kernel_samsung_crespo-a4f0fcdfb2397e81d22446bb364dc190bf16b25a.zip kernel_samsung_crespo-a4f0fcdfb2397e81d22446bb364dc190bf16b25a.tar.gz kernel_samsung_crespo-a4f0fcdfb2397e81d22446bb364dc190bf16b25a.tar.bz2 |
UBI: be verbose when debuggin is enabled
Make I/O function to be always verbose when about CRC errors
and magic number errors when I/O debugging is enabled.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index 51c40b1..718740a 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h @@ -99,8 +99,10 @@ void ubi_dbg_dump_mkvol_req(const struct ubi_mkvol_req *req); #ifdef CONFIG_MTD_UBI_DEBUG_MSG_BLD /* Initialization and build messages */ #define dbg_bld(fmt, ...) dbg_msg(fmt, ##__VA_ARGS__) +#define UBI_IO_DEBUG 1 #else #define dbg_bld(fmt, ...) ({}) +#define UBI_IO_DEBUG 0 #endif #ifdef CONFIG_MTD_UBI_DEBUG_EMULATE_BITFLIPS |