]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - lib/test_kasan.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[mirror_ubuntu-hirsute-kernel.git] / lib / test_kasan.c
index 662f862702fc8da9f3180adc48636360c6edad71..2947274cc2d30be0911ae91a671bc9140da5a5ff 100644 (file)
@@ -25,7 +25,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)
 
 /*
  * We assign some test results to these globals to make sure the tests