diff options
| author | Kees Cook <[email protected]> | 2024-05-31 18:57:07 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2024-05-31 20:47:41 +0000 |
| commit | 99a6087dfdc65303d26ab5fba2dacd8931b82b08 (patch) | |
| tree | 1e33f104f6583744d54f3e49423d6b05009fb261 /lib/fortify_kunit.c | |
| parent | mailmap: update entry for Kees Cook (diff) | |
| download | kernel-99a6087dfdc65303d26ab5fba2dacd8931b82b08.tar.gz kernel-99a6087dfdc65303d26ab5fba2dacd8931b82b08.zip | |
kunit/fortify: Remove __kmalloc_node() test
__kmalloc_node() is considered an "internal" function to the Slab, so
drop it from explicit testing.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/fortify_kunit.c')
| -rw-r--r-- | lib/fortify_kunit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/fortify_kunit.c b/lib/fortify_kunit.c index 39da5b3bc649..f9cc467334ce 100644 --- a/lib/fortify_kunit.c +++ b/lib/fortify_kunit.c @@ -236,9 +236,6 @@ static void fortify_test_alloc_size_##allocator##_dynamic(struct kunit *test) \ kfree(p)); \ checker(expected_size, __kmalloc(alloc_size, gfp), \ kfree(p)); \ - checker(expected_size, \ - __kmalloc_node(alloc_size, gfp, NUMA_NO_NODE), \ - kfree(p)); \ \ orig = kmalloc(alloc_size, gfp); \ KUNIT_EXPECT_TRUE(test, orig != NULL); \ |
