Messages in this thread | | | From | Haiyang Zhang <> | Subject | RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c | Date | Wed, 7 May 2014 21:52:08 +0000 |
| |
> -----Original Message----- > From: David Miller [mailto:davem@davemloft.net] > Sent: Friday, May 2, 2014 3:19 PM > To: Haiyang Zhang > Cc: jim.epost@gmail.com; sfr@canb.auug.org.au; linux-next@vger.kernel.org; > linux-kernel@vger.kernel.org; KY Srinivasan; devel@linuxdriverproject.org; > netdev@vger.kernel.org > Subject: Re: randconfig build error with next-20140502, in > drivers/net/hyperv/netvsc_drv.c > > From: Haiyang Zhang <haiyangz@microsoft.com> > Date: Fri, 2 May 2014 14:42:06 +0000 > > > 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? > > You must fix your driver to compile successfully under all possible configuration > combinations, not just the ones which are convenient for you to support.
I have submitted a patch to support compiling it without CONFIG_SYSFS flag.
Thanks, - Haiyang
| |