aboutsummaryrefslogtreecommitdiff
path: root/mm/kasan/tags_report.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/kasan/tags_report.c')
-rw-r--r--mm/kasan/tags_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/kasan/tags_report.c b/mm/kasan/tags_report.c
index 5f183501b871..c87d5a343b4e 100644
--- a/mm/kasan/tags_report.c
+++ b/mm/kasan/tags_report.c
@@ -76,7 +76,7 @@ void *find_first_bad_addr(void *addr, size_t size)
void *end = p + size;
while (p < end && tag == *(u8 *)kasan_mem_to_shadow(p))
- p += KASAN_SHADOW_SCALE_SIZE;
+ p += KASAN_GRANULE_SIZE;
return p;
}