Messages in this thread Patch in this message | | | Date | Fri, 26 Nov 2021 16:06:51 +1100 | From | Stephen Rothwell <> | Subject | Re: [next] kasan: shadow.c:528:33: error: 'VM_DELAY_KMEMLEAK' undeclared |
| |
Hi all,
On Thu, 25 Nov 2021 15:34:06 +0800 Kefeng Wang <wangkefeng.wang@huawei.com> wrote: > > Sorry for the missing change of VM_DEFER_KMEMLEAK. > > I will add Fixes tag and resend v4.
I have applied the following patch to linux-next today:
From: Stephen Rothwell <sfr@canb.auug.org.au> Date: Fri, 26 Nov 2021 15:34:11 +1100 Subject: [PATCH] mm: kasan: fix VM_DELAY_KMEMLEAK typo
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- mm/kasan/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/kasan/shadow.c b/mm/kasan/shadow.c index 2ade2f484562..94136f84b449 100644 --- a/mm/kasan/shadow.c +++ b/mm/kasan/shadow.c @@ -525,7 +525,7 @@ int kasan_module_alloc(void *addr, size_t size, gfp_t gfp_mask) vm->flags |= VM_KASAN; kmemleak_ignore(ret); - if (vm->flags & VM_DELAY_KMEMLEAK) + if (vm->flags & VM_DEFER_KMEMLEAK) kmemleak_vmalloc(vm, size, gfp_mask); return 0; -- 2.33.0 -- Cheers, Stephen Rothwell [unhandled content-type:application/pgp-signature] | |