tree: https://github.com/ceph/ceph-client.git testing head: cf30eb1d9821be4e575321a518221172b222d893 commit: cf30eb1d9821be4e575321a518221172b222d893 [2/2] ceph: fix splice read for no Fc capability case config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout cf30eb1d9821be4e575321a518221172b222d893 # save the attached .config to linux build tree make.cross ARCH=parisc All warnings (new ones prefixed by >>): fs/ceph/file.c: In function 'ceph_sync_read': >> <command-line>:0:16: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t {aka int}' [-Wformat=] >> include/linux/ceph/ceph_debug.h:4:21: note: in expansion of macro 'KBUILD_MODNAME' #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt ^~~~~~~~~~~~~~ include/linux/dynamic_debug.h:126:35: note: in expansion of macro 'pr_fmt' __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ ^~~~~~ include/linux/printk.h:309:2: note: in expansion of macro 'dynamic_pr_debug' dynamic_pr_debug(fmt, ##__VA_ARGS__) ^~~~~~~~~~~~~~~~ >> include/linux/ceph/ceph_debug.h:17:2: note: in expansion of macro 'pr_debug' pr_debug("%.*s %12.12s:%-4d : " fmt, \ ^~~~~~~~ >> fs/ceph/file.c:615:2: note: in expansion of macro 'dout' dout("sync_read result %ld\n", ret); ^~~~ vim +/dout +615 fs/ceph/file.c 599 l = copy_page_to_iter(pages[k++], page_off, 600 copy, to); 601 off += l; 602 left -= l; 603 if (l < copy) 604 break; 605 } 606 } 607 ceph_release_page_vector(pages, num_pages); 608 } 609 610 if (off > iocb->ki_pos) { 611 ret = off - iocb->ki_pos; 612 iocb->ki_pos = off; 613 } 614 > 615 dout("sync_read result %ld\n", ret); 616 return ret; 617 } 618 619 struct ceph_aio_request { 620 struct kiocb *iocb; 621 size_t total_len; 622 int write; 623 int error; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip