X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=mm%2Fslab_common.c;h=573fbacd9ef508c8e2cc0b1f39fc7c39ba21a56a;hb=c746170d6a48b59d1233b375905f7faef6ce80bc;hp=2f2b55c2798e749536f84af20f6f3494a380782e;hpb=11c336526e2504d34c70fcf11a3642ae333a5085;p=linux-2.6-microblaze.git diff --git a/mm/slab_common.c b/mm/slab_common.c index 2f2b55c2798e..573fbacd9ef5 100644 --- a/mm/slab_common.c +++ b/mm/slab_common.c @@ -1176,7 +1176,7 @@ size_t ksize(const void *objp) * We assume that ksize callers could use whole allocated area, * so we need to unpoison this area. */ - kasan_unpoison_shadow(objp, size); + kasan_unpoison_range(objp, size); return size; } EXPORT_SYMBOL(ksize);