diff options
author | Kees Cook <kees@kernel.org> | 2024-05-31 21:57:07 +0300 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2024-05-31 23:47:41 +0300 |
commit | 99a6087dfdc65303d26ab5fba2dacd8931b82b08 (patch) | |
tree | 1e33f104f6583744d54f3e49423d6b05009fb261 /lib | |
parent | 4e173c825b1914d5b118bbf26f0168102d56ae95 (diff) | |
download | linux-99a6087dfdc65303d26ab5fba2dacd8931b82b08.tar.xz |
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/20240531185703.work.588-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib')
-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); \ |