[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201704252222.Od9GVPQr%fengguang.wu@intel.com>
Date: Tue, 25 Apr 2017 22:52:28 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: kbuild-all@...org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org
Subject: [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
Download attachment ".config.gz" of type "application/gzip" (31327 bytes)
Powered by blists - more mailing lists