summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/io.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-08-08 00:34:20 +0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-10-14 14:10:20 +0400
commitef6075fbfca9139f428d52d60e671da38aa2e212 (patch)
tree077b0265e67e46e09f6d3dcf35a45fbbe6e20748 /drivers/mtd/ubi/io.c
parent0169b49d52400a6035cd0f2ccd08bcba061a1a9b (diff)
downloadlinux-ef6075fbfca9139f428d52d60e671da38aa2e212.tar.xz
UBI: use linux print_hex_dump(), not home-grown one
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/io.c')
-rw-r--r--drivers/mtd/ubi/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index d42ec687b014..928476394d55 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1252,7 +1252,7 @@ static int paranoid_check_all_ff(const struct ubi_device *ubi, int pnum,
fail:
ubi_err("paranoid check failed for PEB %d", pnum);
dbg_msg("hex dump of the %d-%d region", offset, offset + len);
- ubi_dbg_hexdump(buf, len);
+ print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 4, buf, len, 1);
err = 1;
error:
ubi_dbg_dump_stack();