commit | 4a95eddcd1d599eb0d61677dab0e879e5ea51e78 | [log] [tgz] |
---|---|---|
author | Paul McGougan <PMcGougan@topcon.com> | Thu Apr 17 05:09:26 2014 +0000 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Sep 29 15:48:32 2015 -0700 |
tree | 15f2c1868586eb670efb585ac8525e5ab025cacd | |
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>