[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201707130803.CdA76hBd%fengguang.wu@intel.com>
Date: Thu, 13 Jul 2017 09:16:06 +0800
From: kbuild test robot <lkp@...el.com>
To: Wei Wang <wei.w.wang@...el.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
qemu-devel@...gnu.org, virtualization@...ts.linux-foundation.org,
kvm@...r.kernel.org, linux-mm@...ck.org, mst@...hat.com,
david@...hat.com, cornelia.huck@...ibm.com,
akpm@...ux-foundation.org, mgorman@...hsingularity.net,
aarcange@...hat.com, amit.shah@...hat.com, pbonzini@...hat.com,
wei.w.wang@...el.com, liliang.opensource@...il.com,
virtio-dev@...ts.oasis-open.org, yang.zhang.wz@...il.com,
quan.xu@...yun.com
Subject: Re: [PATCH v12 5/8] virtio-balloon: VIRTIO_BALLOON_F_SG
Hi Wei,
[auto build test WARNING on linus/master]
[also build test WARNING on v4.12 next-20170712]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Wei-Wang/Virtio-balloon-Enhancement/20170713-074956
config: i386-randconfig-x071-07121639 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
drivers//virtio/virtio_balloon.c: In function 'tell_host_one_page':
>> drivers//virtio/virtio_balloon.c:535:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
virtqueue_add_chain(vq, id, 0, NULL, (void *)addr, NULL);
^
vim +535 drivers//virtio/virtio_balloon.c
527
528 static void tell_host_one_page(struct virtio_balloon *vb, struct virtqueue *vq,
529 struct page *page)
530 {
531 unsigned int id = VIRTQUEUE_DESC_ID_INIT;
532 u64 addr = page_to_pfn(page) << VIRTIO_BALLOON_PFN_SHIFT;
533
534 virtqueue_add_chain_desc(vq, addr, PAGE_SIZE, &id, &id, 0);
> 535 virtqueue_add_chain(vq, id, 0, NULL, (void *)addr, NULL);
536 virtqueue_kick_async(vq, vb->acked);
537 }
538
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (29833 bytes)
Powered by blists - more mailing lists