aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/io.c
diff options
context:
space:
mode:
authorTanya Brokhman <tlinder@codeaurora.org>2014-11-09 13:06:25 +0200
committerRichard Weinberger <richard@nod.at>2015-01-28 16:09:09 +0100
commit45fc5c81d03601da36e8217e9830d053ef2d7db6 (patch)
tree24b9ed617aa7984b302a1badc7da55b8f97eadc5 /drivers/mtd/ubi/io.c
parentUBIFS: add ubifs_err() to print error reason (diff)
downloadlinux-dev-45fc5c81d03601da36e8217e9830d053ef2d7db6.tar.xz
linux-dev-45fc5c81d03601da36e8217e9830d053ef2d7db6.zip
UBI: extend UBI layer debug/messaging capabilities - cosmetics
Some cosmetic fixes to the patch "UBI: Extend UBI layer debug/messaging capabilities". Signed-off-by: Tanya Brokhman <tlinder@codeaurora.org> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/io.c')
-rw-r--r--drivers/mtd/ubi/io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index 396aaa543362..ed0bcb35472f 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1419,8 +1419,7 @@ int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len)
fail:
ubi_err(ubi, "self-check failed for PEB %d", pnum);
- ubi_msg(ubi, "hex dump of the %d-%d region",
- offset, offset + len);
+ ubi_msg(ubi, "hex dump of the %d-%d region", offset, offset + len);
print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 1, buf, len, 1);
err = -EINVAL;
error: