tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.splice_read head: 9a791e155521e4599ebe1d2fc2ed17fc705d5348 commit: a2b71ea9079ab9cda3be5a85535e602312deb89e [4/11] splice: lift pipe_lock out of splice_to_pipe() config: i386-randconfig-a0-201638 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout a2b71ea9079ab9cda3be5a85535e602312deb89e # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): fs/splice.c: In function 'do_splice': >> fs/splice.c:1422:38: error: passing argument 2 of 'splice_more' from incompatible pointer type [-Werror=incompatible-pointer-types] } while (len && splice_more(opipe, &ret, flags)); ^ fs/splice.c:1304:13: note: expected 'ssize_t * {aka int *}' but argument is of type 'long int *' static bool splice_more(struct pipe_inode_info *pipe, ^~~~~~~~~~~ fs/splice.c: In function 'vmsplice_to_pipe': fs/splice.c:1572:54: error: passing argument 2 of 'splice_more' from incompatible pointer type [-Werror=incompatible-pointer-types] } while (iov_iter_count(&from) && splice_more(pipe, &ret, flags)); ^ fs/splice.c:1304:13: note: expected 'ssize_t * {aka int *}' but argument is of type 'long int *' static bool splice_more(struct pipe_inode_info *pipe, ^~~~~~~~~~~ cc1: some warnings being treated as errors vim +/splice_more +1422 fs/splice.c 1416 total += ret; 1417 len -= ret; 1418 } 1419 bogus_count -= opipe->nrbufs; 1420 if (bogus_count <= 0) 1421 break; > 1422 } while (len && splice_more(opipe, &ret, flags)); 1423 pipe_unlock(opipe); 1424 if (total) { 1425 wakeup_pipe_readers(opipe); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip