summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-04 10:53:50 -0500
committerTom Rini <trini@konsulko.com>2016-01-04 10:53:50 -0500
commitf8a3df0fbc31e7f0f0a5359d505c07fd99b2dab3 (patch)
tree9568b3bb2cc157b77fb298fe05df0026e48ed3db
parentf1993ca066100fcaba7d49fecae0ef604e5807e2 (diff)
parent6a4595600b968bafcae8ad603bfc1175b6efe1d8 (diff)
downloadu-boot-imx-f8a3df0fbc31e7f0f0a5359d505c07fd99b2dab3.zip
u-boot-imx-f8a3df0fbc31e7f0f0a5359d505c07fd99b2dab3.tar.gz
u-boot-imx-f8a3df0fbc31e7f0f0a5359d505c07fd99b2dab3.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-ubi
-rw-r--r--drivers/mtd/ubi/io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/io.c b/drivers/mtd/ubi/io.c
index d1bdec3..0be9c5a 100644
--- a/drivers/mtd/ubi/io.c
+++ b/drivers/mtd/ubi/io.c
@@ -1351,7 +1351,6 @@ static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum,
ubi_err(ubi, "self-check failed for PEB %d:%d, len %d",
pnum, offset, len);
ubi_msg(ubi, "data differ at position %d", i);
- dump_len = max_t(int, 128, len - i);
ubi_msg(ubi, "hex dump of the original buffer from %d to %d",
i, i + dump_len);
print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 1,