From: Haiyang Zhang <haiyangz@microsoft.com>
To: Jim Davis <jim.epost@gmail.com>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-next <linux-next@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
KY Srinivasan <kys@microsoft.com>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
netdev <netdev@vger.kernel.org>
Subject: RE: randconfig build error with next-20140502, in drivers/net/hyperv/netvsc_drv.c
Date: Fri, 2 May 2014 14:42:06 +0000 [thread overview]
Message-ID: <91a4eac99889460f91f619385208cbca@DFM-DB3MBX15-06.exchange.corp.microsoft.com> (raw)
In-Reply-To: <CA+r1ZhhAdRwEFE3u4E1QQiCSa6Cz5Onhy1iVJHhzB4dUiEOL4g@mail.gmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1646 bytes --]
> -----Original Message-----
> From: Jim Davis [mailto:jim.epost@gmail.com]
> Sent: Friday, May 2, 2014 9:56 AM
> To: Stephen Rothwell; linux-next; linux-kernel; KY Srinivasan; Haiyang
> Zhang; devel@linuxdriverproject.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
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
next prev parent reply other threads:[~2014-05-02 15:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-02 13:56 Jim Davis
2014-05-02 14:42 ` Haiyang Zhang [this message]
2014-05-02 14:59 ` KY Srinivasan
2014-05-02 15:25 ` Haiyang Zhang
2014-05-02 19:19 ` David Miller
2014-05-02 19:30 ` Haiyang Zhang
2014-05-07 21:52 ` Haiyang Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=91a4eac99889460f91f619385208cbca@DFM-DB3MBX15-06.exchange.corp.microsoft.com \
--to=haiyangz@microsoft.com \
--cc=devel@linuxdriverproject.org \
--cc=jim.epost@gmail.com \
--cc=kys@microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®