]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - lib/test_kasan_module.c
Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman...
[mirror_ubuntu-jammy-kernel.git] / lib / test_kasan_module.c
index 62a87854b1200625d47c7beb83e8bc4d63d526d7..3b4cc77992d28564f2bd5d98c73e52175e4421e8 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "../mm/kasan/kasan.h"
 
-#define OOB_TAG_OFF (IS_ENABLED(CONFIG_KASAN_GENERIC) ? 0 : KASAN_SHADOW_SCALE_SIZE)
+#define OOB_TAG_OFF (IS_ENABLED(CONFIG_KASAN_GENERIC) ? 0 : KASAN_GRANULE_SIZE)
 
 static noinline void __init copy_user_test(void)
 {