public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: wfg@linux.intel.com
To: kernel-janitors@vger.kernel.org
Subject: [ceph:wip-rbd-new 32/33] drivers/block/rbd.c:2547:6: warning: cast from pointer to integer of differ
Date: Wed, 11 Jul 2012 05:14:16 +0000	[thread overview]
Message-ID: <20120711051416.GA10639@localhost> (raw)

Hi Alex,

There are new compile warnings show up in

tree:   git://github.com/ceph/ceph-client.git wip-rbd-new
head:   a2f737c12499200a71077524ad70e7c2b1272c96
commit: 01eb9011a3db646d9d7b661a89fc609407edb273 [32/33] rbd: flesh out header version 2 support

All warnings:

drivers/block/rbd.c: In function 'rbd_dev_header_v2':
drivers/block/rbd.c:2547:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

vim +2547 drivers/block/rbd.c
  2544		*image_size = ceph_decode_64(&p);
  2545	
  2546		printk("order %d image_size %lld\n", rbd_dev->header.obj_order,
> 2547						(long long) image_size);
  2548		kfree(reply_buf);
  2549	
  2550		return 0;

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

                 reply	other threads:[~2012-07-11  5:14 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=20120711051416.GA10639@localhost \
    --to=wfg@linux.intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox