linux/drivers/mtd/tests
Linus Torvalds bf4afc53b7 Convert 'alloc_obj' family to use the new default GFP_KERNEL argument
This was done entirely with mindless brute force, using

    git grep -l '\<k[vmz]*alloc_objs*(.*, GFP_KERNEL)' |
        xargs sed -i 's/\(alloc_objs*(.*\), GFP_KERNEL)/\1)/'

to convert the new alloc_obj() users that had a simple GFP_KERNEL
argument to just drop that argument.

Note that due to the extreme simplicity of the scripting, any slightly
more complex cases spread over multiple lines would not be triggered:
they definitely exist, but this covers the vast bulk of the cases, and
the resulting diff is also then easier to check automatically.

For the same reason the 'flex' versions will be done as a separate
conversion.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-02-21 17:09:51 -08:00
..
Makefile mtd: make mtd_test.c a separate module 2024-07-01 11:56:25 +02:00
mtd_nandecctest.c treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
mtd_test.c mtd: make mtd_test.c a separate module 2024-07-01 11:56:25 +02:00
mtd_test.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nandbiterrs.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
oobtest.c mtd: tests: Include <linux/prandom.h> instead of <linux/random.h> 2024-10-03 18:19:52 +02:00
pagetest.c mtd: tests: Include <linux/prandom.h> instead of <linux/random.h> 2024-10-03 18:19:52 +02:00
readtest.c mtd: always initialize 'stats' in struct mtd_oob_ops 2022-09-21 10:38:07 +02:00
speedtest.c treewide: use get_random_bytes() when possible 2022-10-11 17:42:58 -06:00
stresstest.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
subpagetest.c mtd: tests: Include <linux/prandom.h> instead of <linux/random.h> 2024-10-03 18:19:52 +02:00
torturetest.c mtd: tests: Remove redundant assignment to err 2021-05-10 12:48:35 +02:00