lkml.org 
[lkml]   [2014]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c
Date


> -----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


\
 
 \ /
  Last update: 2014-05-08 23:41    [W:0.065 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site