diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-01-10 19:32:30 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-01-11 18:35:53 +0200 |
commit | 72f0d453d81d35087b1d3ad7c8285628c2be6e1d (patch) | |
tree | bbf91cfa22e9e29e028849c8479c205bb0bb6cb7 /fs/ubifs/debug.h | |
parent | 6bdccffe8c4268d02f71873102131fb6ed37ed9a (diff) | |
download | op-kernel-dev-72f0d453d81d35087b1d3ad7c8285628c2be6e1d.zip op-kernel-dev-72f0d453d81d35087b1d3ad7c8285628c2be6e1d.tar.gz |
UBI: fix debugging messages
Patch ab50ff684707031ed4bad2fdd313208ae392e5bb broke UBI debugging messages:
before that commit when UBI debugging was enabled, users saw few useful
debugging messages after attaching an MTD device. However, that patch turned
'dbg_msg()' into 'pr_debug()', so to enable the debugging messages users have
to enable them first via /sys/kernel/debug/dynamic_debug/control, which is
very impractical.
This commit makes 'dbg_msg()' to use 'printk()' instead of 'pr_debug()', just
as it was before the breakage.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Cc: stable@kernel.org [3.0+]
Diffstat (limited to 'fs/ubifs/debug.h')
0 files changed, 0 insertions, 0 deletions