tizen: packaging: Add baselibs.conf to provide 64-bit kernel & modules for 32-bit...
[platform/kernel/linux-rpi.git] / mm / cma.c
index da2967c..2b2494f 100644 (file)
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -505,7 +505,7 @@ struct page *cma_alloc(struct cma *cma, unsigned long count,
         */
        if (page) {
                for (i = 0; i < count; i++)
-                       page_kasan_tag_reset(page + i);
+                       page_kasan_tag_reset(nth_page(page, i));
        }
 
        if (ret && !no_warn) {