diff options
author | Paul McGougan <PMcGougan@topcon.com> | 2014-04-17 05:09:26 +0000 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-29 15:48:32 -0700 |
commit | 4a95eddcd1d599eb0d61677dab0e879e5ea51e78 (patch) | |
tree | 15f2c1868586eb670efb585ac8525e5ab025cacd /tests/checkfs/common.h | |
parent | 5f50207231414bfdbac8f0f974a2824f24177d6e (diff) |
mtd: tests: Fix endian issue with CRC generation algorithm
The calculation of the CRC in /tests/checkfs/makefiles.c was writing the CRC
Into the produced files in host byte-order which would cause CRC validation
to fail on big-endian systems as the validation is performed bytewise.
Signed-off-by: Paul McGougan <pmcgougan AT topcon.com>
[Brian: add endian.h]
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'tests/checkfs/common.h')
0 files changed, 0 insertions, 0 deletions