kbuild test robot
2017-Apr-25 14:52 UTC
[vhost:vhost 6/19] drivers/net/virtio_net.c:2089:19: error: assignment of read-only location '*(ctx + (sizetype)rxq2vq(i))'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost head: 674c124665ca2ff1bcf81b1b92a207f71a326742 commit: e43eed6b8068f1c570551fe33bed12ef840c956b [6/19] virtio_net: allow specifying context for rx config: x86_64-acpi-redef (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout e43eed6b8068f1c570551fe33bed12ef840c956b # save the attached .config to linux build tree make ARCH=x86_64 Note: the vhost/vhost HEAD 674c124665ca2ff1bcf81b1b92a207f71a326742 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): drivers/net/virtio_net.c: In function 'virtnet_find_vqs':>> drivers/net/virtio_net.c:2089:19: error: assignment of read-only location '*(ctx + (sizetype)rxq2vq(i))'ctx[rxq2vq(i)] = true; ^ vim +2089 drivers/net/virtio_net.c 2083 callbacks[txq2vq(i)] = skb_xmit_done; 2084 sprintf(vi->rq[i].name, "input.%d", i); 2085 sprintf(vi->sq[i].name, "output.%d", i); 2086 names[rxq2vq(i)] = vi->rq[i].name; 2087 names[txq2vq(i)] = vi->sq[i].name; 2088 if (ctx)> 2089 ctx[rxq2vq(i)] = true;2090 } 2091 2092 ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 31327 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20170425/8ccf2b86/attachment-0001.bin>
Possibly Parallel Threads
- [vhost:vhost 6/19] drivers/net/virtio_net.c:2089:19: error: assignment of read-only location '*(ctx + (sizetype)rxq2vq(i))'
- [RFC PATCH 3/3] virtio-net: using single MSIX irq for each TX/RX queue pair
- [RFC PATCH 3/3] virtio-net: using single MSIX irq for each TX/RX queue pair
- [PATCH 4/6] virtio_net: allow specifying context for rx
- [PATCH 4/6] virtio_net: allow specifying context for rx