RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c
From: Haiyang Zhang
Date: Wed May 07 2014 - 17:52:36 EST
> -----Original Message-----
> From: David Miller [mailto:davem@xxxxxxxxxxxxx]
> Sent: Friday, May 2, 2014 3:19 PM
> To: Haiyang Zhang
> Cc: jim.epost@xxxxxxxxx; sfr@xxxxxxxxxxxxxxxx; linux-next@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; KY Srinivasan; devel@xxxxxxxxxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx
> Subject: Re: randconfig build error with next-20140502, in
> drivers/net/hyperv/netvsc_drv.c
>
> From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/