Thread (6 messages) 6 messages, 4 authors, 2020-07-23

Build failure in -next with get_user_pages_remote() API change

From: Mark Brown <broonie@kernel.org>
Date: 2020-07-10 11:33:37
Also in: linux-next

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help