* KVM make error--drivers/usb/serial/usb_wwan.c
@ 2011-03-23 2:41 Ren, Yongjie
2011-03-23 9:02 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Ren, Yongjie @ 2011-03-23 2:41 UTC (permalink / raw)
To: kvm@vger.kernel.org; +Cc: avi@redhat.com
Hi folks,
Kvm.git: commit 2ee44a580db58f98d85b57bfc468bbc5729ec9b3 Author: Avi Kivity Date: Mon Mar 21 12:53:58 2011 +0200
My build system: RHEL5u5, Linux kvm-build 2.6.38-rc4+ #1 SMP Sat Feb 19 15:35:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
When I make kvm, I get the following error.
drivers/usb/serial/usb_wwan.c: In function 'play_delayed':
drivers/usb/serial/usb_wwan.c:702: error: 'struct dev_pm_info' has no member named 'usage_count'
And I look at the 702Row of usb_wwan.c It shows:
atomic_dec(&port->serial->interface->dev.power.usage_count);
I see usage_count is declared in kvm.git/include/linux/pm.h , but it is declared between "#ifdef" and "#endif". #ifdef CONFIG_PM_RUNTIME .
Kernel of build system doesn't define CONFIG_PM_RUNTIME, so I got the kvm make error.
Anybody knows the solution ? Thanks.
Best Regards,
Yongjie Ren (Jay)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KVM make error--drivers/usb/serial/usb_wwan.c
2011-03-23 2:41 KVM make error--drivers/usb/serial/usb_wwan.c Ren, Yongjie
@ 2011-03-23 9:02 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2011-03-23 9:02 UTC (permalink / raw)
To: Ren, Yongjie; +Cc: kvm@vger.kernel.org
On 03/23/2011 04:41 AM, Ren, Yongjie wrote:
> Hi folks,
> Kvm.git: commit 2ee44a580db58f98d85b57bfc468bbc5729ec9b3 Author: Avi Kivity Date: Mon Mar 21 12:53:58 2011 +0200
> My build system: RHEL5u5, Linux kvm-build 2.6.38-rc4+ #1 SMP Sat Feb 19 15:35:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
>
> When I make kvm, I get the following error.
> drivers/usb/serial/usb_wwan.c: In function 'play_delayed':
> drivers/usb/serial/usb_wwan.c:702: error: 'struct dev_pm_info' has no member named 'usage_count'
>
> And I look at the 702Row of usb_wwan.c It shows:
> atomic_dec(&port->serial->interface->dev.power.usage_count);
> I see usage_count is declared in kvm.git/include/linux/pm.h , but it is declared between "#ifdef" and "#endif". #ifdef CONFIG_PM_RUNTIME .
> Kernel of build system doesn't define CONFIG_PM_RUNTIME, so I got the kvm make error.
>
> Anybody knows the solution ? Thanks.
>
I suggest simply disabling this driver. A simple way is 'make
localmodconfig' which disables all drivers not currently in use (and
makes for a much faster build as well).
The problem will likely go away on the next merge from linux-2.6.git.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-23 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 2:41 KVM make error--drivers/usb/serial/usb_wwan.c Ren, Yongjie
2011-03-23 9:02 ` Avi Kivity
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.