[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201708040037.Sc3Rzv8m%fengguang.wu@intel.com>
Date: Fri, 4 Aug 2017 00:11:35 +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,
virtualization@...ts.linux-foundation.org, kvm@...r.kernel.org,
linux-mm@...ck.org, mst@...hat.com, mhocko@...nel.org,
mawilcox@...rosoft.com, akpm@...ux-foundation.org,
virtio-dev@...ts.oasis-open.org, david@...hat.com,
cornelia.huck@...ibm.com, mgorman@...hsingularity.net,
aarcange@...hat.com, amit.shah@...hat.com, pbonzini@...hat.com,
liliang.opensource@...il.com, yang.zhang.wz@...il.com,
quan.xu@...yun.com
Subject: Re: [PATCH v13 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
Hi Wei,
[auto build test WARNING on v4.13-rc3]
[also build test WARNING on next-20170803]
[cannot apply to linus/master linux/master mmotm/master]
[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/20170803-223740
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All warnings (new ones prefixed by >>):
drivers//virtio/virtio_balloon.c: In function 'tell_host_sgs':
drivers//virtio/virtio_balloon.c:210:3: error: implicit declaration of function 'pfn_to_kaddr' [-Werror=implicit-function-declaration]
sg_addr = pfn_to_kaddr(sg_pfn_start);
^
drivers//virtio/virtio_balloon.c:210:11: warning: assignment makes pointer from integer without a cast
sg_addr = pfn_to_kaddr(sg_pfn_start);
^
drivers//virtio/virtio_balloon.c: In function 'virtio_balloon_send_free_pages':
>> drivers//virtio/virtio_balloon.c:523:15: warning: initialization makes pointer from integer without a cast
void *addr = pfn_to_kaddr(pfn);
^
cc1: some warnings being treated as errors
vim +523 drivers//virtio/virtio_balloon.c
518
519 static void virtio_balloon_send_free_pages(void *opaque, unsigned long pfn,
520 unsigned long nr_pages)
521 {
522 struct virtio_balloon *vb = (struct virtio_balloon *)opaque;
> 523 void *addr = pfn_to_kaddr(pfn);
524 uint32_t len = nr_pages << PAGE_SHIFT;
525
526 send_one_sg(vb, vb->free_page_vq, addr, len, 1);
527 }
528
---
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" (50920 bytes)
Powered by blists - more mailing lists