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: i386-randconfig-c0-11090107 (attached as .config) compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4 reproduce: git checkout cf30eb1d9821be4e575321a518221172b222d893 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): fs/ceph/file.c: In function 'ceph_sync_read': >> fs/ceph/file.c:615:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' [-Wformat=] dout("sync_read result %ld\n", ret); ^ vim +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