Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Jul 17, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell