Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux-2.6-microblaze.git] / mm / page_poison.c
index 06ec518..65cdf84 100644 (file)
@@ -25,7 +25,7 @@ static void poison_page(struct page *page)
 
        /* KASAN still think the page is in-use, so skip it. */
        kasan_disable_current();
-       memset(addr, PAGE_POISON, PAGE_SIZE);
+       memset(kasan_reset_tag(addr), PAGE_POISON, PAGE_SIZE);
        kasan_enable_current();
        kunmap_atomic(addr);
 }