All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: "Yan, Zheng" <zyan@redhat.com>
Cc: kbuild-all@01.org, ceph-devel@vger.kernel.org
Subject: [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'
Date: Wed, 9 Nov 2016 01:47:00 +0800	[thread overview]
Message-ID: <201611090155.3NCUITlZ%fengguang.wu@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2016-11-08 17:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201611090155.3NCUITlZ%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=zyan@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.