diff options
author | Wang Long <long.wanglong@huawei.com> | 2016-06-27 14:28:02 +0800 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-06-28 11:35:10 +0800 |
commit | f0969c14c89b317f135754abb5a01571e6407f63 (patch) | |
tree | 78f814ef73e7c4484c7f2ecd51c83b55f8272adf | |
parent | 63a3aef891423b4bb57100a15b2e9b2b277e4f88 (diff) |
lib/test_kasan.c: fix a typo
commit 9789d8e0cfc6b5e265d9b0aa6e86b394a6d216a1 upstream
Signed-off-by: Wang Long <long.wanglong@huawei.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>
-rw-r--r-- | lib/test_kasan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_kasan.c b/lib/test_kasan.c index 098c08eddfab..044c54dd43fd 100644 --- a/lib/test_kasan.c +++ b/lib/test_kasan.c @@ -65,7 +65,7 @@ static noinline void __init kmalloc_node_oob_right(void) kfree(ptr); } -static noinline void __init kmalloc_large_oob_rigth(void) +static noinline void __init kmalloc_large_oob_right(void) { char *ptr; size_t size = KMALLOC_MAX_CACHE_SIZE + 10; @@ -259,7 +259,7 @@ static int __init kmalloc_tests_init(void) kmalloc_oob_right(); kmalloc_oob_left(); kmalloc_node_oob_right(); - kmalloc_large_oob_rigth(); + kmalloc_large_oob_right(); kmalloc_oob_krealloc_more(); kmalloc_oob_krealloc_less(); kmalloc_oob_16(); |