On Thu, 09 Dec 2021 04:31:31 +0800 kernel test robot <lkp@xxxxxxxxx> wrote: > mm/vmalloc.c:3109 __vmalloc_node_range() warn: bitwise AND condition is false here Thanks to "mm: defer kmemleak object creation of module_alloc()". +#if defined(CONFIG_KASAN) && (defined(CONFIG_KASAN_GENERIC) || \ + defined(CONFIG_KASAN_SW_TAGS)) && !defined(CONFIG_KASAN_VMALLOC) +#define VM_DEFER_KMEMLEAK 0x00000800 /* defer kmemleak object creation */ +#else +#define VM_DEFER_KMEMLEAK 0 +#endif if (!(vm_flags & VM_DEFER_KMEMLEAK)) I don't feel a need to do anything about this - the code is legitimate and idiomatic. Doesn't this warning occur quite a lot?