Subject: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 18 Jul 2023 09:40:04 +1000

Hi all,

After merging the mm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/uapi/linux/posix_types.h:5,
                 from include/uapi/linux/types.h:14,
                 from include/linux/types.h:6,
                 from include/linux/limits.h:6,
                 from include/linux/kernel.h:16,
                 from mm/mmap.c:12:
mm/mmap.c: In function 'do_vmi_align_munmap':
include/linux/stddef.h:8:14: error: incompatible types when assigning to type 'lockdep_map_p' from type 'void *'
    8 | #define NULL ((void *)0)
      |              ^
mm/mmap.c:2430:38: note: in expansion of macro 'NULL'
 2430 |         mt_detach.ma_external_lock = NULL;
      |                                      ^~~~

Caused by commit

  f40b24c7c416 ("mm/mmap: change detached vma locking scheme")

CONFIG_LOCKDEP is not set for this build.

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell