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]
Message-ID: <201808100923.xDsdLinv%fengguang.wu@intel.com>
Date:   Fri, 10 Aug 2018 09:07:29 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Andrei Vagin <avagin@...il.com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org
Subject: [net-next:master 518/519] drivers/net/virtio_net.c:1910:3: error:
 implicit declaration of function '__netif_set_xps_queue'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   36d2f761b5aa688567b6aebdc6d68e73682275d4
commit: 4d99f6602cb552fb58db0c3b1d935bb6fa017f24 [518/519] net: allow to call netif_reset_xps_queues() under cpus_read_lock
config: i386-randconfig-sb0-08100039 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout 4d99f6602cb552fb58db0c3b1d935bb6fa017f24
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net/virtio_net.c: In function 'virtnet_set_affinity':
>> drivers/net/virtio_net.c:1910:3: error: implicit declaration of function '__netif_set_xps_queue' [-Werror=implicit-function-declaration]
      __netif_set_xps_queue(vi->dev, mask, i, false);
      ^
   cc1: some warnings being treated as errors

vim +/__netif_set_xps_queue +1910 drivers/net/virtio_net.c

  1888	
  1889	static void virtnet_set_affinity(struct virtnet_info *vi)
  1890	{
  1891		int i;
  1892		int cpu;
  1893	
  1894		/* In multiqueue mode, when the number of cpu is equal to the number of
  1895		 * queue pairs, we let the queue pairs to be private to one cpu by
  1896		 * setting the affinity hint to eliminate the contention.
  1897		 */
  1898		if (vi->curr_queue_pairs == 1 ||
  1899		    vi->max_queue_pairs != num_online_cpus()) {
  1900			virtnet_clean_affinity(vi, -1);
  1901			return;
  1902		}
  1903	
  1904		i = 0;
  1905		for_each_online_cpu(cpu) {
  1906			const unsigned long *mask = cpumask_bits(cpumask_of(cpu));
  1907	
  1908			virtqueue_set_affinity(vi->rq[i].vq, cpu);
  1909			virtqueue_set_affinity(vi->sq[i].vq, cpu);
> 1910			__netif_set_xps_queue(vi->dev, mask, i, false);
  1911			i++;
  1912		}
  1913	
  1914		vi->affinity_hint_set = true;
  1915	}
  1916	

---
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" (35193 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ