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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to