All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: mfd tree build failure
@ 2008-08-05 14:08 Stephen Rothwell
  2008-08-05 15:39 ` ian
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2008-08-05 14:08 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, Ian Molton, David S. Miller

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

Hi Samuel,

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

drivers/mfd/t7l66xb.c:167: error: implicit declaration of function `get_irq_data'
drivers/mfd/t7l66xb.c:177: error: implicit declaration of function `generic_handle_irq'
drivers/mfd/t7l66xb.c:182: error: implicit declaration of function `get_irq_chip_data'
drivers/mfd/t7l66xb.c:224: error: implicit declaration of function `set_irq_chip'
drivers/mfd/t7l66xb.c:225: error: implicit declaration of function `set_irq_chip_data'
drivers/mfd/t7l66xb.c:226: error: implicit declaration of function `set_irq_handler'
drivers/mfd/t7l66xb.c:226: error: `handle_level_irq' undeclared (first use in this function)
drivers/mfd/t7l66xb.c:226: error: (Each undeclared identifier is reported only once
drivers/mfd/t7l66xb.c:226: error: for each function it appears in.)
drivers/mfd/t7l66xb.c:232: error: implicit declaration of function `set_irq_type'
drivers/mfd/t7l66xb.c:233: error: implicit declaration of function `set_irq_data'
drivers/mfd/t7l66xb.c:234: error: implicit declaration of function `set_irq_chained_handler'

This has actually been happening since Aug 1.

-- 
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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2010-01-19  4:06 Stephen Rothwell
  2010-01-19 10:59 ` Samuel Ortiz
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2010-01-19  4:06 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Cory Maccarrone

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

Hi Samuel,

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

drivers/mfd/htc-i2cpld.c: In function 'htcpld_set_type':
drivers/mfd/htc-i2cpld.c:106: error: 'irq_desc' undeclared (first use in this function)

Caused by commit b4714172cd2f1cd8694546169237c30c5b4fdf3b ("mfd: Add
HTCPLD driver").

I have used the mfd tree from next-20100118 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2010-01-11  5:02 Stephen Rothwell
  2010-01-11 10:51 ` Mark Brown
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2010-01-11  5:02 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel

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

Hi Sam,

Today's linux-next build (x86_64_allmodconfig, gcc 4.4.0, binutils
2.19.1) failed like this:

ERROR: "max8925_set_bits" [drivers/video/backlight/max8925_bl.ko] undefined!
ERROR: "max8925_reg_write" [drivers/video/backlight/max8925_bl.ko] undefined!
ERROR: "max8925_reg_read" [drivers/video/backlight/max8925_bl.ko] undefined!
ERROR: "max8925_set_bits" [drivers/regulator/max8925.ko] undefined!
ERROR: "max8925_reg_read" [drivers/regulator/max8925.ko] undefined!

I am not sure what caused this, so I have used the version of the mfd
tree from next-20100108 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2009-11-24  5:37 Stephen Rothwell
  2009-11-24  9:57 ` Mark Brown
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2009-11-24  5:37 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Mark Brown

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

Hi Samuel,

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

drivers/built-in.o: In function `wm831x_i2c_remove':
wm831x-core.c:(.text+0xd108b): undefined reference to `mfd_remove_devices'
drivers/built-in.o: In function `wm831x_i2c_write_device':
wm831x-core.c:(.text+0xd119c): undefined reference to `i2c_master_send'
drivers/built-in.o: In function `wm831x_i2c_read_device':
wm831x-core.c:(.text+0xd1208): undefined reference to `i2c_master_send'
wm831x-core.c:(.text+0xd1237): undefined reference to `i2c_master_recv'
drivers/built-in.o: In function `wm831x_i2c_probe':
wm831x-core.c:(.text+0xd2099): undefined reference to `mfd_add_devices'
wm831x-core.c:(.text+0xd20cd): undefined reference to `mfd_add_devices'
wm831x-core.c:(.text+0xd2105): undefined reference to `mfd_add_devices'
wm831x-core.c:(.text+0xd2139): undefined reference to `mfd_add_devices'
wm831x-core.c:(.text+0xd21dd): undefined reference to `mfd_add_devices'
wm831x-core.c:(.text+0xd22c3): undefined reference to `mfd_remove_devices'
drivers/built-in.o: In function `wm831x_i2c_init':
wm831x-core.c:(.init.text+0xae6b): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `wm831x_i2c_exit':
wm831x-core.c:(.exit.text+0x522): undefined reference to `i2c_del_driver'

Caused by commit 4f7231a3ff624ad8a0fdace424b10a8b262071cf ("mfd: Don't
allow wm831x to be built as a module").  CONFIG_MFD_CORE is "m" and
CONFIG_I2C is "m" while CONFIG_MFD_WM831X is "y".  "select" is a real
problem :-(

I have used the version of the mfd tree from next-20091120 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2009-11-23  3:41 Stephen Rothwell
  2009-11-23  4:03 ` Stephen Rothwell
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2009-11-23  3:41 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Mark Brown

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

Hi Samuel,

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

ERROR: "irq_to_desc" [drivers/mfd/wm831x.ko] undefined!
ERROR: "handle_edge_irq" [drivers/mfd/wm831x.ko] undefined!
ERROR: "set_irq_chip_and_handler" [drivers/mfd/wm831x.ko] undefined!
ERROR: "set_irq_noprobe" [drivers/mfd/wm831x.ko] undefined!

Probably caused by commit 8fc686c7369173519817f0cfbb2df9a3671d5b8d ("mfd:
Move WM831x to generic IRQ").  Maybe a Kconfig dependency is missing?

I have used the mfd tree from next-20091120 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2009-11-23  3:35 Stephen Rothwell
  2009-11-23 12:26 ` Samuel Ortiz
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2009-11-23  3:35 UTC (permalink / raw)
  To: Samuel Ortiz
  Cc: linux-next, linux-kernel, Dmitry Torokhov, Paul Fertser, Anton Vorontsov

Hi Samuel,

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

drivers/power/pcf50633-charger.c: In function 'pcf50633_mbc_get_usb_online_status':
drivers/power/pcf50633-charger.c:147: error: 'struct pcf50633' has no member named 'mbc_pdev'

Caused by commit 4c2e3bacc050f0ebf884954bb007616c162564cd ("mfd: pcf50633
- fix error handling during probe") from the mfd tree interacting with
commit c329795052aa339850a45fab649ab97a36905136 ("pcf50633: Query charger
status directly") from the battery tree.

I have applied the following merge fixup patch and can carry it as
necessary.

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 23 Nov 2009 14:31:43 +1100
Subject: [PATCH] mfd: fix pcf50633-charger.c for fallout from merge

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/power/pcf50633-charger.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/power/pcf50633-charger.c b/drivers/power/pcf50633-charger.c
index d4a3e77..4e535bb 100644
--- a/drivers/power/pcf50633-charger.c
+++ b/drivers/power/pcf50633-charger.c
@@ -144,7 +144,8 @@ EXPORT_SYMBOL_GPL(pcf50633_mbc_get_status);
 
 int pcf50633_mbc_get_usb_online_status(struct pcf50633 *pcf)
 {
-	struct pcf50633_mbc *mbc  = platform_get_drvdata(pcf->mbc_pdev);
+	struct pcf50633_mbc *mbc =
+		platform_get_drvdata(pcf->pdevs[PCF50633_PDEV_ADC_IDX]);
 
 	if (!mbc)
 		return 0;
-- 
1.6.5.3

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

^ permalink raw reply related	[flat|nested] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2009-10-06  2:02 Stephen Rothwell
  2009-10-06  2:35   ` Haojian Zhuang
  2009-10-12  2:11 ` Stephen Rothwell
  0 siblings, 2 replies; 50+ messages in thread
From: Stephen Rothwell @ 2009-10-06  2:02 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Haojian Zhuang, Mark Brown

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

Hi Samuel,

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

drivers/built-in.o: In function `pm8607_write_device':
88pm8607.c:(.text+0xd02e9): undefined reference to `i2c_master_send'
drivers/built-in.o: In function `pm8607_read_device':
88pm8607.c:(.text+0xd033b): undefined reference to `i2c_master_send'
88pm8607.c:(.text+0xd035c): undefined reference to `i2c_master_recv'
drivers/built-in.o: In function `pm8607_init':
88pm8607.c:(.init.text+0xa9bd): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `pm8607_probe':
88pm8607.c:(.devinit.text+0x4db6): undefined reference to `mfd_add_devices'
drivers/built-in.o: In function `pm8607_exit':
88pm8607.c:(.exit.text+0x598): undefined reference to `i2c_del_driver'
drivers/built-in.o: In function `pm8607_remove':
88pm8607.c:(.devexit.text+0x198): undefined reference to `mfd_remove_devices'

Obviously caused by commit 9ec6cd8f2235ddeee5b39068956f14238a12a617
("mfd: Add 88PM8607 driver").

This build has CONFIG_I2C=m and CONFIG_MFD_CORE=m.

I have used the version of the mfd tree form next-20091005 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2009-01-12  3:03 Stephen Rothwell
  2009-01-12 10:07 ` Balaji Rao
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2009-01-12  3:03 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, Balaji Rao

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

Hi Samuel,

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

ERROR: "__set_irq_handler" [drivers/mfd/pcf50633-core.ko] undefined!
ERROR: "handle_level_irq" [drivers/mfd/pcf50633-core.ko] undefined!

Immediate cause is clearly commit
f52046b14b1e1a8a02ae48d0c69d39c5e204644f ("mfd: PCF50633 core driver")
which introduces this code.  The above functions don't appear to be
exported to modules.

I have dropped the mfd 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] 50+ messages in thread
* linux-next: mfd tree build failure
@ 2008-08-05  5:09 Stephen Rothwell
  2008-08-05 13:03 ` ian
  0 siblings, 1 reply; 50+ messages in thread
From: Stephen Rothwell @ 2008-08-05  5:09 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, Ian Molton

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

Hi Samuel,

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

drivers/mtd/nand/tmio_nand.c: In function 'tmio_nand_write_buf':
drivers/mtd/nand/tmio_nand.c:251: error: implicit declaration of function 'writesw'
drivers/mtd/nand/tmio_nand.c: In function 'tmio_nand_read_buf':
drivers/mtd/nand/tmio_nand.c:258: error: implicit declaration of function 'readsw'

Most architectures don't implement readsw/writesw.

I reverted commit 4d6da2de1b09228989efb67a1f9e6d2ced075540 ("mfd: driver
for the TMIO NAND controller") until it has tighter controls in its
Kconfig patch. i.e. I have no idea what arches this should be built on.

-- 
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] 50+ messages in thread

end of thread, other threads:[~2010-01-19 11:34 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-05 14:08 linux-next: mfd tree build failure Stephen Rothwell
2008-08-05 15:39 ` ian
2008-08-05 16:05   ` Adrian Bunk
2008-08-05 18:50     ` ian
2008-08-05 16:05   ` Stephen Rothwell
2008-08-05 16:08     ` Samuel Ortiz
2008-08-05 16:16       ` Stephen Rothwell
2008-08-05 17:40         ` Samuel Ortiz
2008-08-05 18:46           ` ian
2008-08-06  9:53             ` Samuel Ortiz
2008-08-06  0:40           ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2010-01-19  4:06 Stephen Rothwell
2010-01-19 10:59 ` Samuel Ortiz
2010-01-19 11:34   ` Stephen Rothwell
2010-01-11  5:02 Stephen Rothwell
2010-01-11 10:51 ` Mark Brown
2010-01-11 12:02   ` Haojian Zhuang
2010-01-11 12:33     ` Samuel Ortiz
2010-01-11 22:44       ` Stephen Rothwell
2009-11-24  5:37 Stephen Rothwell
2009-11-24  9:57 ` Mark Brown
2009-11-24 10:14   ` Stephen Rothwell
2009-11-24 10:40     ` Mark Brown
2009-11-23  3:41 Stephen Rothwell
2009-11-23  4:03 ` Stephen Rothwell
2009-11-23 12:29   ` Samuel Ortiz
2009-11-23 13:11     ` Mark Brown
2009-11-23 14:44       ` Samuel Ortiz
2009-11-23 15:20         ` Mark Brown
2009-11-23  3:35 Stephen Rothwell
2009-11-23 12:26 ` Samuel Ortiz
2009-11-23 16:32   ` Dmitry Torokhov
2009-11-24 23:35     ` Samuel Ortiz
2009-10-06  2:02 Stephen Rothwell
2009-10-06  2:35 ` Haojian Zhuang
2009-10-06  2:35   ` Haojian Zhuang
2009-10-06  3:54   ` Stephen Rothwell
2009-10-06  4:19     ` Haojian Zhuang
2009-10-08  5:59       ` Haojian Zhuang
2009-10-08  5:59         ` Haojian Zhuang
2009-10-12  2:11 ` Stephen Rothwell
2009-01-12  3:03 Stephen Rothwell
2009-01-12 10:07 ` Balaji Rao
2009-01-13  6:24   ` Stephen Rothwell
2009-01-14 12:12   ` Samuel Ortiz
2008-08-05  5:09 Stephen Rothwell
2008-08-05 13:03 ` ian
2008-08-05 13:09   ` Samuel Ortiz
2008-08-05 13:22     ` Stephen Rothwell
2008-08-05 15:29     ` ian

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.