From: Roger Quadros Date: Tue, 21 Oct 2014 13:53:27 +0000 (+0300) Subject: mtd: mtd_oobtest: Show the verification error location and data X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a66088bffd9a5251e96ca5d0d46456ab9196287;p=pandora-kernel.git mtd: mtd_oobtest: Show the verification error location and data 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 Signed-off-by: Sekhar Nori Signed-off-by: Brian Norris --- Reading git-diff-tree failed