diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-08-27 10:14:58 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-09-04 02:39:02 -0400 |
commit | 719bb84017fcfc949a77e150dd5b045e90a4ebc9 (patch) | |
tree | 4092867a0fdbe2d82f69ce1a60402a36042175cc /drivers/mtd/ubi/debug.h | |
parent | e28453bbb76c290d67eb28b3ff6875a6519c3998 (diff) |
UBI: print less
UBI currently prints a lot of information when it mounts a volume, which
bothers some people. Make it less chatty - print only important information
by default.
Get rid of 'dbg_msg()' macro completely.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/debug.h')
-rw-r--r-- | drivers/mtd/ubi/debug.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/ubi/debug.h b/drivers/mtd/ubi/debug.h index ea4cb7ca3352..3dbc877d9663 100644 --- a/drivers/mtd/ubi/debug.h +++ b/drivers/mtd/ubi/debug.h | |||
@@ -42,11 +42,6 @@ void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr); | |||
42 | pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ | 42 | pr_debug("UBI DBG " type " (pid %d): " fmt "\n", current->pid, \ |
43 | ##__VA_ARGS__) | 43 | ##__VA_ARGS__) |
44 | 44 | ||
45 | /* Just a debugging messages not related to any specific UBI subsystem */ | ||
46 | #define dbg_msg(fmt, ...) \ | ||
47 | pr_err("UBI DBG (pid %d): %s: " fmt "\n", \ | ||
48 | current->pid, __func__, ##__VA_ARGS__) | ||
49 | |||
50 | /* General debugging messages */ | 45 | /* General debugging messages */ |
51 | #define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__) | 46 | #define dbg_gen(fmt, ...) ubi_dbg_msg("gen", fmt, ##__VA_ARGS__) |
52 | /* Messages from the eraseblock association sub-system */ | 47 | /* Messages from the eraseblock association sub-system */ |