linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the regmap tree
@ 2011-12-15  6:17 Stephen Rothwell
  0 siblings, 0 replies; 21+ messages in thread
From: Stephen Rothwell @ 2011-12-15  6:17 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-next, linux-kernel, Liam Girdwood, Ashish Jangam,
	David Dajun Chen, Samuel Ortiz

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

Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/mfd/da9052-spi.c: In function 'da9052_spi_probe':
drivers/mfd/da9052-spi.c:42:2: error: 'da9052_regmap_config' undeclared (first use in this function)

Caused by commit cfe04478fa1b ("MFD: DA9052/53 MFD core module add SPI
support v2").  Really, was this ever build tested?

da9052_regmap_config is defined in drivers/mfd/da9052-core.c but not
declared in any header file.

drivers/regulator/da9052-regulator.c: In function 'da9052_regulator_probe':
drivers/regulator/da9052-regulator.c:550:11: error: too few arguments to function 'regulator_register'
include/linux/regulator/driver.h:215:23: note: declared here

Caused by commit 08bf1c0ae97f ("regulator: DA9052/53 Regulator support")
from the regulator tree interacting with commit 2c043bcbf287 ("regulator:
pass additional of_node to regulator_register()") also from the regulator
tree.  Again, building the above file depends on CONFIG_PMIC_DA9052 which
noone ever set before.

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

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* linux-next: build failure after merge of the regmap tree
@ 2020-11-27  7:24 Stephen Rothwell
  2020-11-30 17:59 ` Mark Brown
  0 siblings, 1 reply; 21+ messages in thread
From: Stephen Rothwell @ 2020-11-27  7:24 UTC (permalink / raw)
  To: Mark Brown
  Cc: Bard Liao, Jack Yu, Linux Kernel Mailing List,
	Linux Next Mailing List, Pierre-Louis Bossart

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

Hi all,

After merging the regmap tree, today's linux-next build (powerpc
allyesconfig) failed like this:

ld: sound/soc/codecs/rt715-sdca.o:(.opd+0xf0): multiple definition of `rt715_init'; sound/soc/codecs/rt715.o:(.opd+0x108): first defined here
ld: sound/soc/codecs/rt715-sdca.o: in function `.rt715_init':
rt715-sdca.c:(.text.rt715_init+0x0): multiple definition of `.rt715_init'; sound/soc/codecs/rt715.o:rt715.c:(.text.rt715_init+0x0): first defined here
ld: sound/soc/codecs/rt715-sdca.o:(.opd+0x108): multiple definition of `rt715_io_init'; sound/soc/codecs/rt715.o:(.opd+0x120): first defined here
ld: sound/soc/codecs/rt715-sdca.o: in function `.rt715_io_init':
rt715-sdca.c:(.text.rt715_io_init+0x0): multiple definition of `.rt715_io_init'; sound/soc/codecs/rt715.o:rt715.c:(.text.rt715_io_init+0x0): first defined here

Caused by commit

  6f4a038b9967 ("ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread
* linux-next: build failure after merge of the regmap tree
@ 2017-11-02  0:57 Stephen Rothwell
  0 siblings, 0 replies; 21+ messages in thread
From: Stephen Rothwell @ 2017-11-02  0:57 UTC (permalink / raw)
  To: Mark Brown
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Baolin Wang

Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/base/regmap/regmap.o: In function `regmap_unlock_hwlock':
regmap.c:(.text+0x13a5): undefined reference to `__hwspin_unlock'
drivers/base/regmap/regmap.o: In function `regmap_unlock_hwlock_irq':
regmap.c:(.text+0x13d8): undefined reference to `__hwspin_unlock'
drivers/base/regmap/regmap.o: In function `regmap_unlock_hwlock_irqrestore':
regmap.c:(.text+0x140a): undefined reference to `__hwspin_unlock'
drivers/base/regmap/regmap.o: In function `regmap_lock_hwlock':
regmap.c:(.text+0x144a): undefined reference to `__hwspin_lock_timeout'
drivers/base/regmap/regmap.o: In function `regmap_lock_hwlock_irq':
regmap.c:(.text+0x148d): undefined reference to `__hwspin_lock_timeout'
drivers/base/regmap/regmap.o: In function `regmap_lock_hwlock_irqsave':
regmap.c:(.text+0x14cf): undefined reference to `__hwspin_lock_timeout'
drivers/base/regmap/regmap.o: In function `__regmap_init':
(.text+0x5139): undefined reference to `hwspin_lock_free'
drivers/base/regmap/regmap.o: In function `__regmap_init':
(.text+0x5e25): undefined reference to `hwspin_lock_request_specific'

Presumably caused by commit

  8698b9364710 ("regmap: Add hardware spinlock support")

Note that CONFIG_HWSPINLOCK=m for this build, but CONFIG_REGMAP=y

I have used the version of the regmap tree from next-20171018 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 21+ messages in thread
* linux-next: build failure after merge of the regmap tree
@ 2012-04-11  4:13 Stephen Rothwell
  2012-04-11  8:17 ` Mark Brown
  0 siblings, 1 reply; 21+ messages in thread
From: Stephen Rothwell @ 2012-04-11  4:13 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-next, linux-kernel, Stephen Warren

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

Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_sync_unlock':
drivers/base/regmap/regmap-irq.c:62:12: error: 'map' undeclared (first use in this function)
drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_enable':
drivers/base/regmap/regmap-irq.c:77:37: error: 'map' undeclared (first use in this function)
drivers/base/regmap/regmap-irq.c: In function 'regmap_irq_disable':
drivers/base/regmap/regmap-irq.c:85:37: error: 'map' undeclared (first use in this function)

Caused by commit f01ee60fffa4 ("regmap: implement register striding").
Please build test ...

I have used the regmap tree from next-20120410 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* linux-next: build failure after merge of the regmap tree
@ 2012-02-27  4:05 Stephen Rothwell
  0 siblings, 0 replies; 21+ messages in thread
From: Stephen Rothwell @ 2012-02-27  4:05 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-next, linux-kernel

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

Hi Mark,

After merging the regmap tree, today's linux-next build
(x86_64_allmodconfig) failed like this:

drivers/base/regmap/regcache-lzo.c: In function 'regcache_lzo_sync':
drivers/base/regmap/regcache-lzo.c:344:2: error: implicit declaration of function 'for_each_set_bit_from' [-Werror=implicit-function-declaration]
drivers/base/regmap/regcache-lzo.c:345:41: error: expected ';' before '{' token
drivers/base/regmap/regcache-lzo.c:340:6: warning: unused variable 'ret' [-Wunused-variable]
drivers/base/regmap/regcache-lzo.c:338:15: warning: unused variable 'val' [-Wunused-variable]
drivers/base/regmap/regcache-lzo.c:368:1: warning: no return statement in function returning non-void [-Wreturn-type]

Caused by commit ac8d91c80190 ("regmap: Supply ranges to the sync operations").

I have used the regmap tree form next-20120224 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <C3AE124F08223B42BC95AEB82F0F6CED1F9D0895@KCHJEXMB01.kpit.com>]
* linux-next: build failure after merge of the regmap tree
@ 2011-12-15  6:05 Stephen Rothwell
  2011-12-15  6:17 ` Mark Brown
  0 siblings, 1 reply; 21+ messages in thread
From: Stephen Rothwell @ 2011-12-15  6:05 UTC (permalink / raw)
  To: Mark Brown
  Cc: linux-next, linux-kernel, ashishj3, Grant Likely, David Dajun Chen

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

Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpio/gpio-da9052.c:25:35: fatal error: linux/mfd/da9052/gpio.h: No such file or directory

So, it looks like this would never have built
(include/linux/mfd/da9052/gpio.h never existed) but noone ever enabled
CONFIG_PMIC_DA9052 before (which CONFIG_GPIO_DA9052 depends on).

drivers/gpio/gpio-da9052.c was added with commit 07bfc9152365 ("GPIO:
DA9052 GPIO module v3") in v3.1-rc1.

I have added this patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 15 Dec 2011 16:59:59 +1100
Subject: [PATCH] gpio: disable broken driver

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

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 79199f4..e338013 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -70,7 +70,7 @@ config GPIO_GENERIC
 
 config GPIO_DA9052
 	tristate "Dialog DA9052 GPIO"
-	depends on PMIC_DA9052
+	depends on PMIC_DA9052 && BROKEN
 	help
 	  Say yes here to enable the GPIO driver for the DA9052 chip.
 
-- 
1.7.7.3

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

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

^ permalink raw reply related	[flat|nested] 21+ messages in thread
* linux-next: build failure after merge of the regmap tree
@ 2011-09-29  5:18 Stephen Rothwell
  2011-09-29  9:43 ` Mark Brown
  0 siblings, 1 reply; 21+ messages in thread
From: Stephen Rothwell @ 2011-09-29  5:18 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-next, linux-kernel, Dimitris Papastamos

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

Hi Mark,

After merging the regmap tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/base/regmap/regcache.c: In function 'regcache_cache_only':
drivers/base/regmap/regcache.c:276:2: error: 'struct regmap' has no member named 'sync_lock'
drivers/base/regmap/regcache.c:278:19: error: 'struct regmap' has no member named 'sync_lock'

Caused by commit 38f6916976f9 ("regmap: Grab the lock in
regcache_cache_only()").

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

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

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

end of thread, other threads:[~2020-11-30 18:23 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15  6:17 linux-next: build failure after merge of the regmap tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2020-11-27  7:24 Stephen Rothwell
2020-11-30 17:59 ` Mark Brown
2020-11-30 18:07   ` Pierre-Louis Bossart
2020-11-30 18:11     ` Mark Brown
2020-11-30 18:21       ` Pierre-Louis Bossart
2017-11-02  0:57 Stephen Rothwell
2012-04-11  4:13 Stephen Rothwell
2012-04-11  8:17 ` Mark Brown
2012-02-27  4:05 Stephen Rothwell
     [not found] <C3AE124F08223B42BC95AEB82F0F6CED1F9D0895@KCHJEXMB01.kpit.com>
2011-12-15  9:25 ` Ashish Jangam
2011-12-15 18:25   ` Grant Likely
2011-12-16  7:19     ` Ashish Jangam
2011-12-16  8:11       ` Grant Likely
2011-12-16  8:15         ` Ashish Jangam
2011-12-16  8:25           ` Grant Likely
2011-12-15  6:05 Stephen Rothwell
2011-12-15  6:17 ` Mark Brown
2011-12-15  6:24   ` Ashish Jangam
2011-09-29  5:18 Stephen Rothwell
2011-09-29  9:43 ` Mark Brown

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