The patch titled Subject: kasan: hw_tags: include linux/vmalloc.h has been added to the -mm mm-unstable branch. Its filename is fix-missing-vmalloch-includes-fix-5.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fix-missing-vmalloch-includes-fix-5.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Arnd Bergmann <arnd@xxxxxxxx> Subject: kasan: hw_tags: include linux/vmalloc.h Date: Thu, 4 Apr 2024 14:44:30 +0200 This header is no longer included implicitly and instead needs to be pulled in directly: mm/kasan/hw_tags.c: In function 'unpoison_vmalloc_pages': mm/kasan/hw_tags.c:280:16: error: implicit declaration of function 'find_vm_area'; did you mean 'find_vma_prev'? [-Werror=implicit-function-declaration] 280 | area = find_vm_area((void *)addr); | ^~~~~~~~~~~~ | find_vma_prev mm/kasan/hw_tags.c:280:14: error: assignment to 'struct vm_struct *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion] 280 | area = find_vm_area((void *)addr); | ^ mm/kasan/hw_tags.c:284:29: error: invalid use of undefined type 'struct vm_struct' 284 | for (i = 0; i < area->nr_pages; i++) { | ^~ mm/kasan/hw_tags.c:285:41: error: invalid use of undefined type 'struct vm_struct' 285 | struct page *page = area->pages[i]; | ^~ Link: https://lkml.kernel.org/r/20240404124435.3121534-1-arnd@xxxxxxxxxx Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Cc: Alexander Potapenko <glider@xxxxxxxxxx> Cc: Andrey Konovalov <andreyknvl@xxxxxxxxx> Cc: Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx> Cc: Mark Rutland <mark.rutland@xxxxxxx> Cc: Vincenzo Frascino <vincenzo.frascino@xxxxxxx> Cc: Kent Overstreet <kent.overstreet@xxxxxxxxx> Cc: Suren Baghdasaryan <surenb@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/kasan/hw_tags.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/kasan/hw_tags.c~fix-missing-vmalloch-includes-fix-5 +++ a/mm/kasan/hw_tags.c @@ -16,6 +16,7 @@ #include <linux/static_key.h> #include <linux/string.h> #include <linux/types.h> +#include <linux/vmalloc.h> #include "kasan.h" _ Patches currently in -mm which might be from arnd@xxxxxxxx are fix-missing-vmalloch-includes-fix-5.patch kcov-avoid-clang-out-of-range-warning.patch