* linux-next: alacrity tree build failure
@ 2009-11-24 7:58 Stephen Rothwell
2009-11-25 0:41 ` Jeremy Fitzhardinge
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2009-11-24 7:58 UTC (permalink / raw)
To: Gregory Haskins
Cc: linux-next, linux-kernel, Jeremy Fitzhardinge, xen-devel,
Mark McLoughlin
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
Hi Gregory,
Today's linux-next build (x86_6 _allmodconfig) failed like this:
drivers/vbus/built-in.o:(.data+0x0): multiple definition of `dev_attr_modalias'
drivers/xen/built-in.o:(.data+0x46d0): first defined here
Caused by commit 59aa8f441d27c8470764a513dafa46a77f33e953 ("vbus: add
autoprobe capability to guest"). The DEVICE_ATTR(modalias ...) should
probably be static. I should probably be static in
drivers/xen/xenbus/xenbus_probe.c as well.
I have used the version of the alacrity tree from next-20091123 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: linux-next: alacrity tree build failure
2009-11-24 7:58 linux-next: alacrity tree build failure Stephen Rothwell
@ 2009-11-25 0:41 ` Jeremy Fitzhardinge
2009-11-25 0:51 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Jeremy Fitzhardinge @ 2009-11-25 0:41 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Gregory Haskins, linux-next@vger.kernel.org,
linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com,
Mark McLoughlin, Greg KH, Kay Sievers
On 11/23/09 23:58, Stephen Rothwell wrote:
> Today's linux-next build (x86_6 _allmodconfig) failed like this:
>
> drivers/vbus/built-in.o:(.data+0x0): multiple definition of `dev_attr_modalias'
> drivers/xen/built-in.o:(.data+0x46d0): first defined here
>
> Caused by commit 59aa8f441d27c8470764a513dafa46a77f33e953 ("vbus: add
> autoprobe capability to guest"). The DEVICE_ATTR(modalias ...) should
> probably be static. I should probably be static in
> drivers/xen/xenbus/xenbus_probe.c as well.
>
All those DEVICE_ATTR()s should be static in that case. Indeed, I guess
they should be almost universally? Should DEVICE_ATTR() include the
static? (Hm, almost every instance in the kernel already has static; it
should probably have been part of the definition from the start, but
changing it now would cause a lot of churn.)
J
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: linux-next: alacrity tree build failure
2009-11-25 0:41 ` Jeremy Fitzhardinge
@ 2009-11-25 0:51 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2009-11-25 0:51 UTC (permalink / raw)
To: Jeremy Fitzhardinge
Cc: Stephen Rothwell, Gregory Haskins, linux-next@vger.kernel.org,
linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com,
Mark McLoughlin, Kay Sievers
On Tue, Nov 24, 2009 at 04:41:05PM -0800, Jeremy Fitzhardinge wrote:
> On 11/23/09 23:58, Stephen Rothwell wrote:
> > Today's linux-next build (x86_6 _allmodconfig) failed like this:
> >
> > drivers/vbus/built-in.o:(.data+0x0): multiple definition of `dev_attr_modalias'
> > drivers/xen/built-in.o:(.data+0x46d0): first defined here
> >
> > Caused by commit 59aa8f441d27c8470764a513dafa46a77f33e953 ("vbus: add
> > autoprobe capability to guest"). The DEVICE_ATTR(modalias ...) should
> > probably be static. I should probably be static in
> > drivers/xen/xenbus/xenbus_probe.c as well.
> >
>
> All those DEVICE_ATTR()s should be static in that case. Indeed, I guess
> they should be almost universally? Should DEVICE_ATTR() include the
> static? (Hm, almost every instance in the kernel already has static; it
> should probably have been part of the definition from the start, but
> changing it now would cause a lot of churn.)
There are some "non static" usages, mostly to deal with stuff within a
module that takes more than one file. They could probably all be fixed
up if someone really is bored :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-25 0:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 7:58 linux-next: alacrity tree build failure Stephen Rothwell
2009-11-25 0:41 ` Jeremy Fitzhardinge
2009-11-25 0:51 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).