mtd: mtd_oobtest: Show the verification error location and data
authorRoger Quadros <rogerq@ti.com>
Tue, 21 Oct 2014 13:53:27 +0000 (16:53 +0300)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Nov 2014 07:25:06 +0000 (23:25 -0800)
Add a function memcmpshow() that compares the 2 data buffers
and shows the address:offset and data bytes on comparison failure.
This function  does not break at a comparison failure but runs the
check for the whole data buffer.

Use memcmpshow() instead of memcmp() for all the verification paths.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found