* [ceph-client:testing 2/2] fs/ceph/file.c:615:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t'
@ 2016-11-08 17:47 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-11-08 17:47 UTC (permalink / raw)
To: Yan, Zheng; +Cc: kbuild-all, ceph-devel
[-- Attachment #1: Type: text/plain, Size: 1506 bytes --]
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 #2: .config.gz --]
[-- Type: application/gzip, Size: 29253 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-08 17:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 17:47 [ceph-client:testing 2/2] fs/ceph/file.c:615:2: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'ssize_t' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.