20 Aug, 2014
1 commit
-
These multiplications are done with 32-bit arithmetic, then converted to
64-bit. We should widen the integers first to prevent overflow. This
could be a problem for large (>4GB) MTD's.Detected by Coverity.
Signed-off-by: Brian Norris
Cc: Akinobu Mita
31 Aug, 2013
3 commits
-
All callers of mtdtest_read() print the same error message on failure.
This incorporates the error message to mtdtest_read() and removes them
from the callers.Signed-off-by: Akinobu Mita
Signed-off-by: Artem Bityutskiy
Signed-off-by: David Woodhouse -
Use mtdtest_read() and mtdtest_scan_for_bad_eraseblocks() in mtd_test
helpers.Signed-off-by: Akinobu Mita
Cc: Brian Norris
Cc: Vikram Narayanan
Cc: Adrian Hunter
Signed-off-by: Artem Bityutskiy
Signed-off-by: David Woodhouse -
Each mtd test module have a single source whose name is the same as
the module name. In order to link a single object including helper
functions to every test module, this rename these sources to the
different names.Signed-off-by: Akinobu Mita
Cc: Brian Norris
Cc: Vikram Narayanan
Cc: Adrian Hunter
Signed-off-by: Artem Bityutskiy
Signed-off-by: David Woodhouse