[vhost:linux-next 6/19] drivers/remoteproc/remoteproc_virtio.c:148:9: error: 'ctx' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux