lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Thu, 30 Mar 2017 11:55:15 +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: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

Download attachment ".config.gz" of type "application/gzip" (27282 bytes)

Powered by blists - more mailing lists