]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/test_kasan.c
lib/test_kasan.c: fix a typo
[linux.git] / lib / test_kasan.c
index 098c08eddfab715e98a0c428ef69f3012b58d5d0..044c54dd43fdb5bd6ad898c68ba61ac3fc48d9fe 100644 (file)
@@ -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();