[CRIU] [PATCH v6 3/3] Try to include userfaultfd with criu (part 2)
Adrian Reber
adrian at lisas.de
Thu Mar 17 06:57:06 PDT 2016
On Thu, Mar 17, 2016 at 04:34:59PM +0300, Pavel Emelyanov wrote:
> After merging all these patches the build started to fail like this:
>
> pie/restorer.c: In function ‘enable_uffd’:
> pie/restorer.c:591:40: error: passing argument 3 of ‘sys_ioctl’ makes integer from pointer without a cast [-Werror=int-conversion]
> rc = sys_ioctl(uffd, UFFDIO_REGISTER, &uffdio_register);
> ^
> In file included from pie/restorer.c:20:0:
> /var/lib/jenkins/workspace/CRIU-iter/criu/include/syscall.h:21:13: note: expected ‘long unsigned int’ but argument is of type ‘struct uffdio_register *’
> extern long sys_ioctl (unsigned int fd, unsigned int cmd, unsigned long arg) ;
I will have a look at it.
Adrian
More information about the CRIU
mailing list