Hi all, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/shmem.c:2365:12: warning: 'enum mcopy_atomic_mode' declared inside parameter list will not be visible outside of this definition or declaration 2365 | enum mcopy_atomic_mode mode, struct page **pagep) | ^~~~~~~~~~~~~~~~~ mm/shmem.c:2365:30: error: parameter 6 ('mode') has incomplete type 2365 | enum mcopy_atomic_mode mode, struct page **pagep) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~ mm/shmem.c:2362:5: error: function declaration isn't a prototype [-Werror=strict-prototypes] 2362 | int shmem_mcopy_atomic_pte(struct mm_struct *dst_mm, pmd_t *dst_pmd, | ^~~~~~~~~~~~~~~~~~~~~~ mm/shmem.c: In function 'shmem_mcopy_atomic_pte': mm/shmem.c:2367:30: error: 'MCOPY_ATOMIC_CONTINUE' undeclared (first use in this function) 2367 | bool is_continue = (mode == MCOPY_ATOMIC_CONTINUE); | ^~~~~~~~~~~~~~~~~~~~~ mm/shmem.c:2367:30: note: each undeclared identifier is reported only once for each function it appears in mm/shmem.c:2394:15: error: 'MCOPY_ATOMIC_NORMAL' undeclared (first use in this function) 2394 | if (mode == MCOPY_ATOMIC_NORMAL) { /* mcopy_atomic */ | ^~~~~~~~~~~~~~~~~~~ Caused by commit 3407bec05d6d ("userfaultfd: support minor fault handling for shmem") # CONFIG_USERFAULTFD is not set I have reverted that commit (and the following 4 as well). -- Cheers, Stephen Rothwell
Attachment:
pgpI_Xcg_R13B.pgp
Description: OpenPGP digital signature