summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-lpc32xx.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-10-21 17:53:27 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-11-20 10:25:06 +0300
commit5a66088bffd9a5251e96ca5d0d46456ab9196287 (patch)
tree91bdd8b45c770fe3e3910d54357e09aff83f2cd2 /drivers/rtc/rtc-lpc32xx.c
parent096916610f415e07cfe71d71a391011c617be5ed (diff)
downloadlinux-5a66088bffd9a5251e96ca5d0d46456ab9196287.tar.xz
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 <rogerq@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/rtc/rtc-lpc32xx.c')
0 files changed, 0 insertions, 0 deletions