Commit 9789d8e0 authored by Wang Long's avatar Wang Long Committed by Linus Torvalds

lib/test_kasan.c: fix a typo

Signed-off-by: default avatarWang Long <long.wanglong@huawei.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b40bdb7f
...@@ -65,7 +65,7 @@ static noinline void __init kmalloc_node_oob_right(void) ...@@ -65,7 +65,7 @@ static noinline void __init kmalloc_node_oob_right(void)
kfree(ptr); kfree(ptr);
} }
static noinline void __init kmalloc_large_oob_rigth(void) static noinline void __init kmalloc_large_oob_right(void)
{ {
char *ptr; char *ptr;
size_t size = KMALLOC_MAX_CACHE_SIZE + 10; size_t size = KMALLOC_MAX_CACHE_SIZE + 10;
...@@ -259,7 +259,7 @@ static int __init kmalloc_tests_init(void) ...@@ -259,7 +259,7 @@ static int __init kmalloc_tests_init(void)
kmalloc_oob_right(); kmalloc_oob_right();
kmalloc_oob_left(); kmalloc_oob_left();
kmalloc_node_oob_right(); kmalloc_node_oob_right();
kmalloc_large_oob_rigth(); kmalloc_large_oob_right();
kmalloc_oob_krealloc_more(); kmalloc_oob_krealloc_more();
kmalloc_oob_krealloc_less(); kmalloc_oob_krealloc_less();
kmalloc_oob_16(); kmalloc_oob_16();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment