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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <91a4eac99889460f91f619385208cbca@DFM-DB3MBX15-06.exchange.corp.microsoft.com>
Date:	Fri, 2 May 2014 14:42:06 +0000
From:	Haiyang Zhang <haiyangz@...rosoft.com>
To:	Jim Davis <jim.epost@...il.com>,
	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next <linux-next@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	KY Srinivasan <kys@...rosoft.com>,
	"devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
	netdev <netdev@...r.kernel.org>
Subject: RE: randconfig build error with next-20140502, in
 drivers/net/hyperv/netvsc_drv.c



> -----Original Message-----
> From: Jim Davis [mailto:jim.epost@...il.com]
> Sent: Friday, May 2, 2014 9:56 AM
> To: Stephen Rothwell; linux-next; linux-kernel; KY Srinivasan; Haiyang
> Zhang; devel@...uxdriverproject.org; netdev
> Subject: randconfig build error with next-20140502, in
> drivers/net/hyperv/netvsc_drv.c
> 
> Building with the attached random configuration file,
> 
> drivers/net/hyperv/netvsc_drv.c: In function ‘netvsc_recv_callback’:
> drivers/net/hyperv/netvsc_drv.c:648:11: error: ‘struct net_device’ has
> no member
>  named ‘real_num_rx_queues’
>         net->real_num_rx_queues);
>            ^
> In file included from drivers/net/hyperv/netvsc_drv.c:26:0:
> drivers/net/hyperv/netvsc_drv.c: In function ‘netvsc_probe’:
> drivers/net/hyperv/netvsc_drv.c:832:32: error: ‘struct net_device’ has
> no member named ‘real_num_rx_queues’
>     net->real_num_tx_queues, net->real_num_rx_queues);
>                                 ^
> include/linux/device.h:1080:58: note: in definition of macro ‘dev_info’
>  #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
>                                                           ^
> make[3]: *** [drivers/net/hyperv/netvsc_drv.o] Error 1

real_num_rx_queues is defined in "include/linux/netdevice.h":
It requires CONFIG_SYSFS flag, which is enabled by default, but not set in 
your config file.

Could you use default config and add hyperv drivers, then try again?

Thanks,
- Haiyang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ