kbuild test robot
2017-Mar-30 03:55 UTC
[vhost:linux-next 6/19] drivers/remoteproc/remoteproc_virtio.c:148:9: error: 'ctx' undeclared
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
head: d01047cb281d27bcedbf705089bdd38d86d20b01
commit: a965e977a1038cd738f874b5ee8a16d4fa55c64d [6/19] virtio: add context flag
to find vqs
config: x86_64-randconfig-x015-201713 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout a965e977a1038cd738f874b5ee8a16d4fa55c64d
# save the attached .config to linux build tree
make ARCH=x86_64
Note: the vhost/linux-next HEAD d01047cb281d27bcedbf705089bdd38d86d20b01 builds
fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/remoteproc/remoteproc_virtio.c: In function
'rproc_virtio_find_vqs':>> drivers/remoteproc/remoteproc_virtio.c:148:9: error: 'ctx'
undeclared (first use in this function)
ctx ? ctx[i] : false);
^~~
drivers/remoteproc/remoteproc_virtio.c:148:9: note: each undeclared
identifier is reported only once for each function it appears in
vim +/ctx +148 drivers/remoteproc/remoteproc_virtio.c
142 struct irq_affinity *desc)
143 {
144 int i, ret;
145
146 for (i = 0; i < nvqs; ++i) {
147 vqs[i] = rp_find_vq(vdev, i, callbacks[i], names[i],
> 148 ctx ? ctx[i] : false);
149 if (IS_ERR(vqs[i])) {
150 ret = PTR_ERR(vqs[i]);
151 goto error;
---
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: 27282 bytes
Desc: not available
URL:
<http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20170330/56e26c22/attachment-0001.bin>
Seemingly Similar Threads
- [vhost:linux-next 6/19] drivers/remoteproc/remoteproc_virtio.c:148:9: error: 'ctx' undeclared
- [vhost:linux-next 6/19] drivers//remoteproc/remoteproc_virtio.c:106:7: error: too few arguments to function 'vring_new_virtqueue'
- [vhost:linux-next 6/19] drivers//remoteproc/remoteproc_virtio.c:106:7: error: too few arguments to function 'vring_new_virtqueue'
- [vhost:linux-next 6/19] drivers/remoteproc/remoteproc_virtio.c:107:27: error: passing argument 8 of 'vring_new_virtqueue' from incompatible pointer type
- [vhost:linux-next 6/19] drivers/remoteproc/remoteproc_virtio.c:107:27: error: passing argument 8 of 'vring_new_virtqueue' from incompatible pointer type
