aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/tests
AgeCommit message (Expand)AuthorFilesLines
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-1/+1
2024-10-03mtd: tests: Include <linux/prandom.h> instead of <linux/random.h>Uros Bizjak3-3/+3
2024-07-01mtd: make mtd_test.c a separate moduleArnd Bergmann2-17/+26
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld2-9/+9
2022-10-11treewide: use get_random_bytes() when possibleJason A. Donenfeld3-3/+3
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld2-18/+9
2022-09-21mtd: always initialize 'stats' in struct mtd_oob_opsMichał Kępień3-6/+6
2022-03-14mtd: tests: Fix eraseblock read speed miscalculation for lower partition sizesAmit Kumar Mahapatra1-6/+5
2021-05-10mtd: tests: Remove redundant assignment to errYang Li1-2/+0
2021-05-10mtd: mtd_oobtest: Remove redundant assignment to errJiapeng Chong1-6/+0
2021-05-10mtd: mtd_oobtest: fix error return code in mtd_oobtest_init()Zhang Xiaoxu1-0/+1
2020-12-10mtd: nand: ecc-hamming: Rename the exported functionsMiquel Raynal1-15/+14
2020-12-10mtd: nand: ecc-hamming: Move Hamming code to the generic NAND layerMiquel Raynal1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 326Thomas Gleixner8-106/+8
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-04-18mtd: rawnand: Clarify Kconfig entry MTD_NANDMiquel Raynal1-1/+1
2019-04-18mtd: nand: Clarify Kconfig entry for software Hamming ECC entriesMiquel Raynal1-7/+7
2018-10-03mtd: rawnand: Allow selection of ECC byte ordering at runtimeBoris Brezillon1-7/+14
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-1/+1
2018-03-21mtd: tests: check erase block count in page testStefan Agner1-3/+7
2018-03-15mtd: Unconditionally update ->fail_addr and ->addr in part_erase()Boris Brezillon2-2/+0
2018-03-15mtd: Stop assuming mtd_erase() is asynchronousBoris Brezillon2-10/+0
2018-01-12mtd: mtd_oobtest: Handle bitflips during readsMiquel Raynal1-0/+21
2018-01-09mtd: tests: nandbiterrs: Fix read_page return valueSascha Hauer1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman3-0/+3
2017-08-13mtd: nand: Rename nand.h into rawnand.hBoris Brezillon1-1/+1
2017-06-08mtd: subpagetest: fix wrong written check in function write_eraseblock2Xiaolei Li1-1/+1
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-1/+1
2016-07-11mtd: nandbiterrs: Support for NAND biterrors test on platforms without raw writeIwo Mergler1-1/+1
2016-03-24Merge tag 'for-linus-20160324' of git://git.infradead.org/linux-mtdLinus Torvalds1-25/+24
2016-03-07mtd: kill the ecclayout->oobavail fieldBoris BREZILLON1-25/+24
2016-03-04mtd: nand: tests: fix regression introduced in mtd_nandectestJorge Ramirez-Ortiz1-1/+1
2016-01-06mtd: tests: consolidate kmalloc/memset 0 call to kzallocNicholas Mc Guire1-2/+1
2015-10-26mtd: tests: Replace timeval with ktime_tShraddha Barke2-10/+10
2015-08-27mtd: mtd_oobtest: Fix the address offset with vary_offset caseRoger Quadros1-6/+12
2015-05-14mtd: readtest: don't clobber error reportsBrian Norris1-2/+4
2015-04-05mtd: Make MTD tests cancelableRichard Weinberger10-24/+120
2015-04-05mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3Roger Quadros1-27/+35
2015-03-11mtd: tests: fix more potential integer overflowsBrian Norris5-10/+10
2014-12-12mtd: tests: abort torturetest on erase errorsBrian Norris1-1/+3
2014-11-20mtd: oobtest: correct printf() format specifier for 'size_t'Brian Norris1-1/+1
2014-11-19mtd: mtd_oobtest: add bitflip_limit parameterRoger Quadros1-18/+47
2014-11-19mtd: mtd_oobtest: Show the verification error location and dataRoger Quadros1-7/+29
2014-08-19mtd: tests: fix integer overflow issuesBrian Norris7-22/+22
2014-04-17mtd: mtd_oobtest: generate consistent data for verificationAkinobu Mita1-7/+10
2014-03-10mtd: delete non-required instances of include <linux/init.h>Paul Gortmaker1-1/+0
2014-01-03mtd: tests: mtd_nandecctest: Use IS_ENABLED() macroFabio Estevam1-1/+1
2013-10-27mtd: nand: add a helper to detect the nand typeHuang Shijie4-4/+4
2013-08-30mtd: tests: incorporate error message for mtdtest_write()Akinobu Mita5-50/+12
2013-08-30mtd: tests: incorporate error message for mtdtest_read()Akinobu Mita5-76/+17
2013-08-30mtd: mtd_nandbiterrs: use mtd_test helpersAkinobu Mita1-33/+6
2013-08-30mtd: mtd_torturetest: use mtd_test helpersAkinobu Mita1-59/+7
2013-08-30mtd: mtd_subpagetest: use mtd_test helpersAkinobu Mita1-78/+9
2013-08-30mtd: mtd_stresstest: use mtd_test helpersAkinobu Mita1-74/+12
2013-08-30mtd: mtd_speedtest: use mtd_test helpersAkinobu Mita1-144/+36
2013-08-30mtd: mtd_readtest: use mtd_test helpersAkinobu Mita1-41/+8
2013-08-30mtd: mtd_pagetest: use mtd_test helpersAkinobu Mita1-147/+58
2013-08-30mtd: mtd_oobtest: use mtd_test helpersAkinobu Mita1-80/+12
2013-08-30mtd: tests: rename sources in order to link a helper objectAkinobu Mita9-0/+9
2013-08-30mtd: tests: introduce helper functionsAkinobu Mita2-0/+121
2013-08-05mtd: tests: don't print error messages when out-of-memoryBrian Norris6-54/+18
2013-03-02Merge tag 'for-linus-20130301' of git://git.infradead.org/linux-mtdLinus Torvalds3-23/+20
2013-02-27mtd: mtd_stresstest: use prandom_bytes()Akinobu Mita1-2/+1
2013-02-27mtd: mtd_subpagetest: convert to use prandom libraryAkinobu Mita1-30/+12
2013-02-27mtd: mtd_speedtest: use prandom_bytesAkinobu Mita1-8/+1
2013-02-27mtd: mtd_pagetest: convert to use prandom libraryAkinobu Mita1-30/+13
2013-02-27mtd: mtd_oobtest: convert to use prandom libraryAkinobu Mita1-33/+16
2013-02-27mtd: mtd_nandecctest: use prandom_bytes instead of get_random_bytes()Akinobu Mita1-1/+1
2013-02-13mtd: mtd_torturetest can cause stack overflowsAl Cooper1-14/+11
2013-02-04mtd: rename random32() to prandom_u32()Akinobu Mita2-9/+9
2012-12-04mtd: tests/read: initialize buffer for whole next pageChristian Herzig1-1/+1
2012-11-18mtd: Fix typo mtd/testsMasanari Iida7-8/+8
2012-11-15mtd: mtd_oobtest: printk -> pr_{info,err,crit}Vikram Narayanan1-87/+84
2012-11-15mtd: tests: mtd_torturetest: Replace printk with pr_{info,crit}Vikram Narayanan1-36/+37
2012-11-15mtd: tests: mtd_subpagetest: replace printk with pr_{info,crit,err}Vikram Narayanan1-62/+62
2012-11-15mtd: tests: mtd_speedtest: Replace printk with pr_{info,crit,err}Vikram Narayanan1-44/+44
2012-11-15mtd: tests: mtd_stresstest: Replace printk with pr_{info,crit,err}Vikram Narayanan1-22/+22
2012-11-15mtd: tests: mtd_readtest: Replace printk with pr_{info,err}Vikram Narayanan1-21/+21
2012-11-15mtd: tests: mtd_pagetest: Replace printk with pr_{info,crit,err}Vikram Narayanan1-76/+76
2012-11-15mtd: tests: mtd_nandecctest: Use pr_fmt macroVikram Narayanan1-2/+4
2012-11-15mtd: tests: mtd_nandbiterrs: replace msg macro with pr_{info,err}Vikram Narayanan1-36/+37
2012-09-29mtd: mtd_nandecctest: add double bit error detection testsAkinobu Mita1-0/+79
2012-09-29mtd: mtd_nandecctest: add single bit error correction testAkinobu Mita1-0/+37
2012-09-29mtd: mtd_nandecctest: add no corruption testAkinobu Mita1-0/+26
2012-09-29mtd: mtd_nandecctest: rewrite the test routineAkinobu Mita1-22/+69
2012-09-29mtd: mtd_nandecctest: support injecting bit error for ecc codeAkinobu Mita1-2/+16
2012-09-29mtd: tests: test for multi-bit error correctionIwo Mergler2-0/+461
2012-09-29mtd: mtd_nandecctest: ensure alignment requirement for bitopsAkinobu Mita1-13/+28
2012-09-29mtd: mtd_nandecctest: improve message outputAkinobu Mita1-19/+29
2012-09-29mtd: mtd_nandecctest: make module_init() return appropriate errnoAkinobu Mita1-1/+1
2012-09-29mtd: mtd_nandecctest: remove unnecessary includeAkinobu Mita1-1/+0
2012-09-29mtd: mtd_nandecctest: make module_init() return an error code if test failsAkinobu Mita1-3/+6
2012-09-29mtd: mtd_nandecctest: remove unnecessary srandom32() callAkinobu Mita1-2/+0
2012-07-06mtd: tests: use random32 instead of home-brewed generatorArtem Bityutskiy2-44/+11
2012-01-09mtd: introduce mtd_can_have_bb helperArtem Bityutskiy4-7/+4
2012-01-09mtd: remove extra retlen assignmentArtem Bityutskiy6-32/+21
2012-01-09mtd: introduce mtd_block_isbad interfaceArtem Bityutskiy7-8/+7
2012-01-09mtd: introduce mtd_write_oob interfaceArtem Bityutskiy1-5/+5
2012-01-09mtd: introduce mtd_read_oob interfaceArtem Bityutskiy2-8/+8
2012-01-09mtd: introduce mtd_write interfaceArtem Bityutskiy5-13/+13
2012-01-09mtd: introduce mtd_read interfaceArtem Bityutskiy6-25/+25
2012-01-09mtd: introduce mtd_erase interfaceArtem Bityutskiy6-7/+7
2012-01-09mtd: tests: stresstest: bail out if device has not enough eraseblocksWolfram Sang1-0/+7
2011-10-30mtd: tests: don't use mtd0 as a defaultWolfram Sang7-7/+55
2011-09-21mtd: utilize `mtd_is_*()' functionsBrian Norris6-25/+25
2011-09-11mtd: rename MTD_OOB_* to MTD_OPS_*Brian Norris2-13/+13
2011-09-11mtd: tests: ignore corrected bitflips in OOB on mtd_readtestBrian Norris1-1/+2
2011-03-11mtd: speedtest: fix integer overflowDavid Lambert1-7/+7
2011-03-11mtd: tests: add multiblock erase test to the mtd_speedtestRoman Tereshonkov1-2/+57
2011-03-11mtd: tests: add count parameter to mtd_speedtestAdrian Hunter1-2/+13
2011-03-11mtd: tests: print correct valuesRoman Tereshonkov1-5/+5
2010-08-02mtd: tests: return -1 if verify failedRoel Kluin1-5/+4
2010-05-13drivers/mtd: Use kzallocJulia Lawall5-10/+5
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo8-1/+7
2010-01-13mtd: tests: fix read, speed and stress tests on NOR flashMorten Thunberg Svendsen3-3/+16
2009-11-30mtd: make pagetest workArtem Bityutskiy1-0/+1
2009-11-30mtd: add nand_ecc test moduleAkinobu Mita2-0/+88
2009-10-17mtd: cleanup mtd_oobtestAkinobu Mita1-14/+4
2009-09-04mtd: tests: fix read buffer overflowsRoel Kluin2-7/+7
2009-03-30trivial: NULL noise: drivers/mtd/tests/mtd_*test.cHannes Eder2-13/+13
2009-01-05[MTD] [TESTS] Fix some size_t printk format warningsDavid Woodhouse2-4/+4
2008-12-10MTD: add MTD tests to compilationArtem Bityutskiy1-0/+7
2008-12-10MTD: tests: add mtd_torturetestArtem Bityutskiy1-0/+530
2008-12-08MTD: tests: add mtd_subpagetestArtem Bityutskiy1-0/+525
2008-12-08MTD: tests: add mtd_stresstestArtem Bityutskiy1-0/+330
2008-12-08MTD: tests: add mtd_speedtestArtem Bityutskiy1-0/+502
2008-12-08MTD: tests: add mtd_readtestArtem Bityutskiy1-0/+253
2008-12-08MTD: tests: add mtd_pagetestArtem Bityutskiy1-0/+632
2008-12-08MTD: tests: add mtd_oobtestArtem Bityutskiy1-0/+742