linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: voltage tree build failure
@ 2009-04-28  6:24 Stephen Rothwell
  2009-04-28 11:08 ` Liam Girdwood
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2009-04-28  6:24 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, Mike Rapoport

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Hi Liam,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/regulator/userspace-consumer.c:43: error: conflicting types for 'show_state'
include/linux/sched.h:273: note: previous definition of 'show_state' was here

Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
add userspace-consumer driver") which I have reverted for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-04-28  6:24 linux-next: voltage tree build failure Stephen Rothwell
@ 2009-04-28 11:08 ` Liam Girdwood
  2009-04-28 11:42   ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: Liam Girdwood @ 2009-04-28 11:08 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Mike Rapoport

On Tue, 2009-04-28 at 16:24 +1000, Stephen Rothwell wrote:
> Hi Liam,
> 
> Today's linux-next build (powerpc allyesconfig) failed like this:
> 
> drivers/regulator/userspace-consumer.c:43: error: conflicting types for 'show_state'
> include/linux/sched.h:273: note: previous definition of 'show_state' was here
> 
> Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
> add userspace-consumer driver") which I have reverted for today.

Sorry about this. I've now fixed in voltage next by renaming with a reg_
prefix. Fwiw - I did test build for ARM and all was OK yesterday. I
guess I need to build allyesconfig too.

Thanks

Liam 

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-04-28 11:08 ` Liam Girdwood
@ 2009-04-28 11:42   ` Stephen Rothwell
  2009-04-30 11:06     ` Mike Rapoport
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2009-04-28 11:42 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, Mike Rapoport

[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]

Hi Liam,

On Tue, 28 Apr 2009 12:08:37 +0100 Liam Girdwood <lrg@slimlogic.co.uk> wrote:
>
> On Tue, 2009-04-28 at 16:24 +1000, Stephen Rothwell wrote:
> > Hi Liam,
> > 
> > Today's linux-next build (powerpc allyesconfig) failed like this:
> > 
> > drivers/regulator/userspace-consumer.c:43: error: conflicting types for 'show_state'
> > include/linux/sched.h:273: note: previous definition of 'show_state' was here
> > 
> > Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
> > add userspace-consumer driver") which I have reverted for today.
> 
> Sorry about this. I've now fixed in voltage next by renaming with a reg_
> prefix. Fwiw - I did test build for ARM and all was OK yesterday. I
> guess I need to build allyesconfig too.

More likely, sched.h is indirectly included on some platforms and not
others.  This is partly what linux-next is for: to find cross platform
and subsystem interactions.

Thanks for the fix.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-04-28 11:42   ` Stephen Rothwell
@ 2009-04-30 11:06     ` Mike Rapoport
  0 siblings, 0 replies; 13+ messages in thread
From: Mike Rapoport @ 2009-04-30 11:06 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next



Stephen Rothwell wrote:
> Hi Liam,
> 
> On Tue, 28 Apr 2009 12:08:37 +0100 Liam Girdwood <lrg@slimlogic.co.uk> wrote:
>> On Tue, 2009-04-28 at 16:24 +1000, Stephen Rothwell wrote:
>>> Hi Liam,
>>>
>>> Today's linux-next build (powerpc allyesconfig) failed like this:
>>>
>>> drivers/regulator/userspace-consumer.c:43: error: conflicting types for 'show_state'
>>> include/linux/sched.h:273: note: previous definition of 'show_state' was here
>>>
>>> Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
>>> add userspace-consumer driver") which I have reverted for today.
>> Sorry about this. I've now fixed in voltage next by renaming with a reg_
>> prefix. Fwiw - I did test build for ARM and all was OK yesterday. I
>> guess I need to build allyesconfig too.

It's rather my fault...
BTW, the drivers/regulator/virtual.c has show_mode which may trigger similar
error later, probably it's worth adding reg_ prefix there as well...

> More likely, sched.h is indirectly included on some platforms and not
> others.  This is partly what linux-next is for: to find cross platform
> and subsystem interactions.
> 
> Thanks for the fix.

-- 
Sincerely yours,
Mike.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-10-12 12:57   ` Mark Brown
@ 2009-10-12 13:35     ` Samuel Ortiz
  0 siblings, 0 replies; 13+ messages in thread
From: Samuel Ortiz @ 2009-10-12 13:35 UTC (permalink / raw)
  To: Mark Brown
  Cc: Haojian Zhuang, Stephen Rothwell, Liam Girdwood, linux-next,
	linux-kernel

On Mon, Oct 12, 2009 at 01:57:07PM +0100, Mark Brown wrote:
> On Sun, Oct 11, 2009 at 10:50:54PM -0400, Haojian Zhuang wrote:
> 
> > Hi Samuel & Liam,
> 
> > Please help review and merge this fix patch. I'm sorry for inconvience.
> 
> This is waiting for Samuel - it should go via the MFD tree.  I've CCed
> in Samuel's current e-mail address on the off-chance that that helps.
Patch applied and pushed. Sorry for the delay, I wasnt cc'ed at first.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-10-12  2:50 ` Haojian Zhuang
@ 2009-10-12 12:57   ` Mark Brown
  2009-10-12 13:35     ` Samuel Ortiz
  0 siblings, 1 reply; 13+ messages in thread
From: Mark Brown @ 2009-10-12 12:57 UTC (permalink / raw)
  To: Haojian Zhuang
  Cc: Stephen Rothwell, Liam Girdwood, linux-next, linux-kernel, Samuel Ortiz

On Sun, Oct 11, 2009 at 10:50:54PM -0400, Haojian Zhuang wrote:

> Hi Samuel & Liam,

> Please help review and merge this fix patch. I'm sorry for inconvience.

This is waiting for Samuel - it should go via the MFD tree.  I've CCed
in Samuel's current e-mail address on the off-chance that that helps.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-10-12  2:26 Stephen Rothwell
@ 2009-10-12  2:50 ` Haojian Zhuang
  2009-10-12 12:57   ` Mark Brown
  0 siblings, 1 reply; 13+ messages in thread
From: Haojian Zhuang @ 2009-10-12  2:50 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next, linux-kernel, Samuel Ortiz

On Sun, Oct 11, 2009 at 10:26 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Liam,
>
> Today's linux-next build (x86_64 allmodconfig) failed like this:
>
> drivers/built-in.o: In function `pm8607_write_device':
> 88pm8607.c:(.text+0xd1359): undefined reference to `i2c_master_send'
> drivers/built-in.o: In function `pm8607_read_device':
> 88pm8607.c:(.text+0xd13ab): undefined reference to `i2c_master_send'
> 88pm8607.c:(.text+0xd13cc): undefined reference to `i2c_master_recv'
> drivers/built-in.o: In function `pm8607_init':
> 88pm8607.c:(.init.text+0xaa22): undefined reference to `i2c_register_driver'
> drivers/built-in.o: In function `pm8607_probe':
> 88pm8607.c:(.devinit.text+0x50fb): undefined reference to `mfd_add_devices'
> drivers/built-in.o: In function `pm8607_exit':
> 88pm8607.c:(.exit.text+0x5de): undefined reference to `i2c_del_driver'
> drivers/built-in.o: In function `pm8607_remove':
> 88pm8607.c:(.devexit.text+0x1cc): undefined reference to `mfd_remove_devices'
>
> Caused by commit 258e3427f83a573d738344c2f5499da5e026e1df ("regulator:
> add 88PM8607 PMIC driver").  This is the same driver that has caused the
> mfd tree to fail in the same way since next-20091006.  I have used the
> version of the voltage tree from next-20091009 for today.
>
> --
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
>

Hi Samuel & Liam,

Please help review and merge this fix patch. I'm sorry for inconvience.

Stephen,

Thanks for your check.

From b7d3707263598c4c6671ac592eaaf13535a7b96a Mon Sep 17 00:00:00 2001
From: Haojian Zhuang <haojian.zhuang@marvell.com>
Date: Tue, 6 Oct 2009 08:08:37 -0400
Subject: [PATCH] mfd: fix the dependancy issue on 88PM8607

88PM8607 depends on I2C and MFD_CORE. Since 88PM8607 is built-in
kernel, it also requires that I2C and MFD_CORE are built-in
kernel also.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
---
 drivers/mfd/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index fbe684b..00064e2 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -307,7 +307,7 @@ config EZX_PCAP

 config MFD_88PM8607
 	bool "Support Marvell 88PM8607"
-	depends on I2C
+	depends on I2C=y
 	select MFD_CORE
 	help
 	  This supports for Marvell 88PM8607 Power Management IC. This includes
-- 
1.5.6.5


Best Regards
Haojian

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* linux-next: voltage tree build failure
@ 2009-10-12  2:26 Stephen Rothwell
  2009-10-12  2:50 ` Haojian Zhuang
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2009-10-12  2:26 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, linux-kernel, Haojian Zhuang, Samuel Ortiz

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

Hi Liam,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/built-in.o: In function `pm8607_write_device':
88pm8607.c:(.text+0xd1359): undefined reference to `i2c_master_send'
drivers/built-in.o: In function `pm8607_read_device':
88pm8607.c:(.text+0xd13ab): undefined reference to `i2c_master_send'
88pm8607.c:(.text+0xd13cc): undefined reference to `i2c_master_recv'
drivers/built-in.o: In function `pm8607_init':
88pm8607.c:(.init.text+0xaa22): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `pm8607_probe':
88pm8607.c:(.devinit.text+0x50fb): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `pm8607_exit':
88pm8607.c:(.exit.text+0x5de): undefined reference to `i2c_del_driver'
drivers/built-in.o: In function `pm8607_remove':
88pm8607.c:(.devexit.text+0x1cc): undefined reference to `mfd_remove_devices'

Caused by commit 258e3427f83a573d738344c2f5499da5e026e1df ("regulator:
add 88PM8607 PMIC driver").  This is the same driver that has caused the
mfd tree to fail in the same way since next-20091006.  I have used the
version of the voltage tree from next-20091009 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] 13+ messages in thread

* linux-next: voltage tree build failure
@ 2009-08-24  4:40 Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2009-08-24  4:40 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, linux-kernel, Anuj Aggarwal

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

Hi Liam,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/regulator/tps65023-regulator: struct i2c_device_id is 32 bytes.  The last of 1 is:
0x74 0x70 0x73 0x36 0x35 0x30 0x32 0x33 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
FATAL: drivers/regulator/tps65023-regulator: struct i2c_device_id is not terminated with a NULL entry!

Caused by commit 9cfd343f14bf4bd95f8bfc6a1d411d2002bf94d8 ("Regulator:
Add TPS65023 regulator driver").

I have used the version of the voltage tree from next-20090821 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next: voltage tree build failure
  2009-01-21  2:46 Stephen Rothwell
@ 2009-01-21 14:04 ` Jonathan Cameron
  0 siblings, 0 replies; 13+ messages in thread
From: Jonathan Cameron @ 2009-01-21 14:04 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Liam Girdwood, linux-next

Stephen Rothwell wrote:
> Hi Liam,
> 
> Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> drivers/regulator/wm8350-regulator.c: In function 'pmic_uv_handler':
> drivers/regulator/wm8350-regulator.c:1296: error: dereferencing pointer to incomplete type
> drivers/regulator/wm8350-regulator.c:1305: error: dereferencing pointer to incomplete type
> 
> Immediate cause is commit 872ed3fe176833f7d43748eb88010da4bbd2f983
> ("Regulator: Push lock out of _notifier_call_chain + add voltage change
> event").
> 
> I have dropped the voltage tree for today.
Sorry, my error... It's always the simple changes that you don't build
test properly that catch you out.

Liam, can you revert this patch for now and I'll send a version
that doesn't have this problem shortly.

Jonathan

^ permalink raw reply	[flat|nested] 13+ messages in thread

* linux-next: voltage tree build failure
@ 2009-01-21  2:46 Stephen Rothwell
  2009-01-21 14:04 ` Jonathan Cameron
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2009-01-21  2:46 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, Jonathan Cameron

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hi Liam,

Today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/regulator/wm8350-regulator.c: In function 'pmic_uv_handler':
drivers/regulator/wm8350-regulator.c:1296: error: dereferencing pointer to incomplete type
drivers/regulator/wm8350-regulator.c:1305: error: dereferencing pointer to incomplete type

Immediate cause is commit 872ed3fe176833f7d43748eb88010da4bbd2f983
("Regulator: Push lock out of _notifier_call_chain + add voltage change
event").

I have dropped the voltage tree for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: linux-next:  voltage tree build failure
  2008-07-14 13:35 Stephen Rothwell
@ 2008-07-14 13:48 ` Liam Girdwood
  0 siblings, 0 replies; 13+ messages in thread
From: Liam Girdwood @ 2008-07-14 13:48 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Russell King, Philipp Zabel

On Mon, 2008-07-14 at 23:35 +1000, Stephen Rothwell wrote:
> Hi Liam,
> 
> Today's linux-next build (arm versatile_defconfig) failed like this:
> 
> drivers/regulator/Kconfig:59: can't open file "drivers/regulator/wm8350/Kconfig"
> 
> Commit 03ec18c8752a9b12006ffff23a5582b4482073ce ("regulator: TI bq24022
> Li-Ion Charger driver") added some includes to drivers/regulator/Kconfig
> of things that don't exist ...
> 
> Unfortunately, this broke all arm builds.

Philipp noticed earlier and it's now fixed. It's stuff that does exist
on my system so I should probably git clean -f -d next time I build
(before commit).

Thanks

Liam

^ permalink raw reply	[flat|nested] 13+ messages in thread

* linux-next:  voltage tree build failure
@ 2008-07-14 13:35 Stephen Rothwell
  2008-07-14 13:48 ` Liam Girdwood
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2008-07-14 13:35 UTC (permalink / raw)
  To: Liam Girdwood; +Cc: linux-next, Russell King, Philipp Zabel

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Hi Liam,

Today's linux-next build (arm versatile_defconfig) failed like this:

drivers/regulator/Kconfig:59: can't open file "drivers/regulator/wm8350/Kconfig"

Commit 03ec18c8752a9b12006ffff23a5582b4482073ce ("regulator: TI bq24022
Li-Ion Charger driver") added some includes to drivers/regulator/Kconfig
of things that don't exist ...

Unfortunately, this broke all arm builds.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-10-12 13:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28  6:24 linux-next: voltage tree build failure Stephen Rothwell
2009-04-28 11:08 ` Liam Girdwood
2009-04-28 11:42   ` Stephen Rothwell
2009-04-30 11:06     ` Mike Rapoport
  -- strict thread matches above, loose matches on Subject: below --
2009-10-12  2:26 Stephen Rothwell
2009-10-12  2:50 ` Haojian Zhuang
2009-10-12 12:57   ` Mark Brown
2009-10-12 13:35     ` Samuel Ortiz
2009-08-24  4:40 Stephen Rothwell
2009-01-21  2:46 Stephen Rothwell
2009-01-21 14:04 ` Jonathan Cameron
2008-07-14 13:35 Stephen Rothwell
2008-07-14 13:48 ` Liam Girdwood

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