Build failure in -next with get_user_pages_remote() API change

Mark Brown broonie at kernel.org
Fri Jul 10 07:32:01 EDT 2020


Today's -next fails to build in various arm64 configs with:

arch/arm64/kernel/mte.c:225:23: error: too many arguments to function call, expected 7, have 8
                                            &page, &vma, NULL);
                                                         ^~~~
./include/linux/stddef.h:8:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
             ^~~~~~~~~~~
./include/linux/mm.h:1705:6: note: 'get_user_pages_remote' declared here
long get_user_pages_remote(struct mm_struct *mm,
     ^
1 error generated.

caused by b7363b0ab88d66d3c (mm/gup: remove task_struct pointer for all
gup code) which updated the signature of get_user_pages_remote() without
updating the caller in mte.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200710/0ddf56b5/attachment.sig>


More information about the linux-arm-kernel mailing list