lkml.org 
[lkml]   [2017]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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
    [unhandled content-type:application/gzip]
    \
     
     \ /
      Last update: 2017-07-13 03:17    [W:2.980 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site