diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-08-07 22:34:20 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-10-14 12:10:20 +0200 |
commit | ef6075fbfca9139f428d52d60e671da38aa2e212 (patch) | |
tree | 077b0265e67e46e09f6d3dcf35a45fbbe6e20748 /drivers/mtd/ubi/io.c | |
parent | UBI: don't use array index before testing if it is negative (diff) | |
download | linux-ef6075fbfca9139f428d52d60e671da38aa2e212.tar.xz linux-ef6075fbfca9139f428d52d60e671da38aa2e212.zip |
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.c | 2 |
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(); |