diff options
| author | Roger Quadros <[email protected]> | 2014-10-21 16:53:27 +0300 |
|---|---|---|
| committer | Brian Norris <[email protected]> | 2014-11-19 23:25:06 -0800 |
| commit | 5a66088bffd9a5251e96ca5d0d46456ab9196287 (patch) | |
| tree | 91bdd8b45c770fe3e3910d54357e09aff83f2cd2 /net/switchdev/switchdev.c | |
| parent | 096916610f415e07cfe71d71a391011c617be5ed (diff) | |
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 <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions