public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: arm build failure
@ 2008-06-16  6:07 Stephen Rothwell
  2008-06-16  7:29 ` Russell King
  2008-06-16 21:52 ` Dmitry Baryshkov
  0 siblings, 2 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-06-16  6:07 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next, Dmitry Baryshkov

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

Hi Russell,

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

drivers/mfd/tc6393xb.c:91: error: field 'gpio' has incomplete type
drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_get':
drivers/mfd/tc6393xb.c:116: warning: type defaults to 'int' in declaration of '__mptr'
drivers/mfd/tc6393xb.c:116: warning: initialization from incompatible pointer type
drivers/mfd/tc6393xb.c: In function '__tc6393xb_gpio_set':
drivers/mfd/tc6393xb.c:126: warning: type defaults to 'int' in declaration of '__mptr'
drivers/mfd/tc6393xb.c:126: warning: initialization from incompatible pointer type
drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_set':
drivers/mfd/tc6393xb.c:141: warning: type defaults to 'int' in declaration of '__mptr'
drivers/mfd/tc6393xb.c:141: warning: initialization from incompatible pointer type
drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_direction_input':
drivers/mfd/tc6393xb.c:154: warning: type defaults to 'int' in declaration of '__mptr'
drivers/mfd/tc6393xb.c:154: warning: initialization from incompatible pointer type
drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_direction_output':
drivers/mfd/tc6393xb.c:172: warning: type defaults to 'int' in declaration of '__mptr'
drivers/mfd/tc6393xb.c:172: warning: initialization from incompatible pointer type
drivers/mfd/tc6393xb.c: In function 'tc6393xb_register_gpio':
drivers/mfd/tc6393xb.c:199: error: implicit declaration of function 'gpiochip_add'
drivers/mfd/tc6393xb.c: In function 'tc6393xb_attach_irq':
drivers/mfd/tc6393xb.c:272: error: implicit declaration of function 'set_irq_flags'
drivers/mfd/tc6393xb.c:272: error: 'IRQF_VALID' undeclared (first use in this function)
drivers/mfd/tc6393xb.c:272: error: (Each undeclared identifier is reported only once
drivers/mfd/tc6393xb.c:272: error: for each function it appears in.)
drivers/mfd/tc6393xb.c:272: error: 'IRQF_PROBE' undeclared (first use in this function)
drivers/mfd/tc6393xb.c:275: error: 'IRQT_FALLING' undeclared (first use in this function)
drivers/mfd/tc6393xb.c: In function 'tc6393xb_probe':
drivers/mfd/tc6393xb.c:423: error: implicit declaration of function 'gpiochip_remove'

I have reverted the commit that added this driver
(ed1f4e8e88fcf43dd1679968477a6139d53bc852 "[ARM] 5096/1: Support Toshiba
TC6393XB Mobile I/O Controller" from the arm tree) for now.  I suspect
that it needs some dependencies in it Kconfig.

-- 
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: arm build failure
  2008-06-16  6:07 linux-next: arm build failure Stephen Rothwell
@ 2008-06-16  7:29 ` Russell King
  2008-06-16  7:37   ` Stephen Rothwell
  2008-06-16 21:52 ` Dmitry Baryshkov
  1 sibling, 1 reply; 13+ messages in thread
From: Russell King @ 2008-06-16  7:29 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Dmitry Baryshkov

On Mon, Jun 16, 2008 at 04:07:47PM +1000, Stephen Rothwell wrote:
> Hi Russell,
> 
> Today's linux-next build (x86_64 allmodconfig) failed like this:

Well, it's going to stay broken for the coming week.  I'm away from
today.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

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

* Re: linux-next: arm build failure
  2008-06-16  7:29 ` Russell King
@ 2008-06-16  7:37   ` Stephen Rothwell
  2008-06-22 19:00     ` Russell King
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2008-06-16  7:37 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next, Dmitry Baryshkov

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

On Mon, 16 Jun 2008 08:29:16 +0100 Russell King <rmk@arm•linux.org.uk> wrote:
>
> On Mon, Jun 16, 2008 at 04:07:47PM +1000, Stephen Rothwell wrote:
> > Hi Russell,
> > 
> > Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> Well, it's going to stay broken for the coming week.  I'm away from
> today.

That's OK, I can keep reverting it (or I may try to figure out what
dependencies it needs).

Thanks for letting me know.
-- 
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: arm build failure
  2008-06-16  6:07 linux-next: arm build failure Stephen Rothwell
  2008-06-16  7:29 ` Russell King
@ 2008-06-16 21:52 ` Dmitry Baryshkov
  2008-06-17  4:52   ` Stephen Rothwell
  1 sibling, 1 reply; 13+ messages in thread
From: Dmitry Baryshkov @ 2008-06-16 21:52 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Russell King, linux-next

Hi,

On Mon, Jun 16, 2008 at 04:07:47PM +1000, Stephen Rothwell wrote:
> Hi Russell,
> 
> Today's linux-next build (x86_64 allmodconfig) failed like this:
> 
> drivers/mfd/tc6393xb.c:91: error: field 'gpio' has incomplete type
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_get':
> drivers/mfd/tc6393xb.c:116: warning: type defaults to 'int' in declaration of '__mptr'
> drivers/mfd/tc6393xb.c:116: warning: initialization from incompatible pointer type
> drivers/mfd/tc6393xb.c: In function '__tc6393xb_gpio_set':
> drivers/mfd/tc6393xb.c:126: warning: type defaults to 'int' in declaration of '__mptr'
> drivers/mfd/tc6393xb.c:126: warning: initialization from incompatible pointer type
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_set':
> drivers/mfd/tc6393xb.c:141: warning: type defaults to 'int' in declaration of '__mptr'
> drivers/mfd/tc6393xb.c:141: warning: initialization from incompatible pointer type
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_direction_input':
> drivers/mfd/tc6393xb.c:154: warning: type defaults to 'int' in declaration of '__mptr'
> drivers/mfd/tc6393xb.c:154: warning: initialization from incompatible pointer type
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_gpio_direction_output':
> drivers/mfd/tc6393xb.c:172: warning: type defaults to 'int' in declaration of '__mptr'
> drivers/mfd/tc6393xb.c:172: warning: initialization from incompatible pointer type
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_register_gpio':
> drivers/mfd/tc6393xb.c:199: error: implicit declaration of function 'gpiochip_add'
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_attach_irq':
> drivers/mfd/tc6393xb.c:272: error: implicit declaration of function 'set_irq_flags'
> drivers/mfd/tc6393xb.c:272: error: 'IRQF_VALID' undeclared (first use in this function)
> drivers/mfd/tc6393xb.c:272: error: (Each undeclared identifier is reported only once
> drivers/mfd/tc6393xb.c:272: error: for each function it appears in.)
> drivers/mfd/tc6393xb.c:272: error: 'IRQF_PROBE' undeclared (first use in this function)
> drivers/mfd/tc6393xb.c:275: error: 'IRQT_FALLING' undeclared (first use in this function)
> drivers/mfd/tc6393xb.c: In function 'tc6393xb_probe':
> drivers/mfd/tc6393xb.c:423: error: implicit declaration of function 'gpiochip_remove'
> 
> I have reverted the commit that added this driver
> (ed1f4e8e88fcf43dd1679968477a6139d53bc852 "[ARM] 5096/1: Support Toshiba
> TC6393XB Mobile I/O Controller" from the arm tree) for now.  I suspect
> that it needs some dependencies in it Kconfig.

Yup. I forgot that not all platforms do have gpiolib. Please use the
following patch.


>From 2707a8c78089894e3db6363c7921c89fd69c6ad4 Mon Sep 17 00:00:00 2001
From: Dmitry Baryshkov <dbaryshkov@gmail•com>
Date: Tue, 17 Jun 2008 01:44:35 +0400
Subject: [PATCH] Fix Kconfig entry for TC6393XB

The tc6393xb driver breaks if no gpiolib is present. Depend on
HAVE_GPIO_LIB.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail•com>
---
 drivers/mfd/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 66c3e53..2619f9e 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -40,6 +40,7 @@ config HTC_PASIC3
 
 config MFD_TC6393XB
 	bool "Support Toshiba TC6393XB"
+	depends on HAVE_GPIO_LIB
 	help
 	  Support for Toshiba Mobile IO Controller TC6393XB
 
-- 
1.5.5.3


-- 
With best wishes
Dmitry


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

* Re: linux-next: arm build failure
  2008-06-16 21:52 ` Dmitry Baryshkov
@ 2008-06-17  4:52   ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-06-17  4:52 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: Russell King, linux-next

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

Hi Dmitry,

On Tue, 17 Jun 2008 01:52:37 +0400 Dmitry Baryshkov <dbaryshkov@gmail•com> wrote:
>
> Yup. I forgot that not all platforms do have gpiolib. Please use the
> following patch.

Thanks, I will apply it to today's build.

-- 
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: arm build failure
  2008-06-16  7:37   ` Stephen Rothwell
@ 2008-06-22 19:00     ` Russell King
  2008-06-23  8:11       ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: Russell King @ 2008-06-22 19:00 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Dmitry Baryshkov

On Mon, Jun 16, 2008 at 05:37:57PM +1000, Stephen Rothwell wrote:
> On Mon, 16 Jun 2008 08:29:16 +0100 Russell King <rmk@arm•linux.org.uk> wrote:
> >
> > On Mon, Jun 16, 2008 at 04:07:47PM +1000, Stephen Rothwell wrote:
> > > Hi Russell,
> > > 
> > > Today's linux-next build (x86_64 allmodconfig) failed like this:
> > 
> > Well, it's going to stay broken for the coming week.  I'm away from
> > today.
> 
> That's OK, I can keep reverting it (or I may try to figure out what
> dependencies it needs).
> 
> Thanks for letting me know.

Okay, this should now be fixed.  Please confirm when you run your next
linux-next build.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

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

* Re: linux-next: arm build failure
  2008-06-22 19:00     ` Russell King
@ 2008-06-23  8:11       ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-06-23  8:11 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next, Dmitry Baryshkov

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

Hi Russell,

On Sun, 22 Jun 2008 20:00:41 +0100 Russell King <rmk@arm•linux.org.uk> wrote:
>
> Okay, this should now be fixed.  Please confirm when you run your next
> linux-next build.

This no longer breaks the x86_64 allmodconfig build.  The arm builds will
be done later tonight.

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

* linux-next: arm build failure
@ 2008-11-07  2:11 Stephen Rothwell
  2008-11-09 10:26 ` Russell King
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2008-11-07  2:11 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next

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

Hi Russell,

An arm rpc_defconfig build of next-20081106 produced these errors:

arch/arm/mm/copypage-v3.c:37: error: 'from' undeclared (first use in this function)
arch/arm/mm/copypage-v3.c:37: error: 'to' undeclared (first use in this function)

Caused by commit dbe92c825b7b9be950135da97f6f293caaeaa083 ("[ARM]
copypage: convert assembly files to C").

-- 
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: arm build failure
  2008-11-07  2:11 Stephen Rothwell
@ 2008-11-09 10:26 ` Russell King
  2008-11-09 10:45   ` Stephen Rothwell
  0 siblings, 1 reply; 13+ messages in thread
From: Russell King @ 2008-11-09 10:26 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next

On Fri, Nov 07, 2008 at 01:11:28PM +1100, Stephen Rothwell wrote:
> An arm rpc_defconfig build of next-20081106 produced these errors:
> 
> arch/arm/mm/copypage-v3.c:37: error: 'from' undeclared (first use in this function)
> arch/arm/mm/copypage-v3.c:37: error: 'to' undeclared (first use in this function)
> 
> Caused by commit dbe92c825b7b9be950135da97f6f293caaeaa083 ("[ARM]
> copypage: convert assembly files to C").

Should now be fixed.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

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

* Re: linux-next: arm build failure
  2008-11-09 10:26 ` Russell King
@ 2008-11-09 10:45   ` Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2008-11-09 10:45 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next

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

Hi Russell,

On Sun, 9 Nov 2008 10:26:12 +0000 Russell King <rmk@arm•linux.org.uk> wrote:
>
> On Fri, Nov 07, 2008 at 01:11:28PM +1100, Stephen Rothwell wrote:
> > An arm rpc_defconfig build of next-20081106 produced these errors:
> > 
> > arch/arm/mm/copypage-v3.c:37: error: 'from' undeclared (first use in this function)
> > arch/arm/mm/copypage-v3.c:37: error: 'to' undeclared (first use in this function)
> > 
> > Caused by commit dbe92c825b7b9be950135da97f6f293caaeaa083 ("[ARM]
> > copypage: convert assembly files to C").
> 
> Should now be fixed.

Thanks.

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

* linux-next: arm build failure
@ 2008-11-26  2:30 Stephen Rothwell
  2008-11-26  4:53 ` Eric Miao
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Rothwell @ 2008-11-26  2:30 UTC (permalink / raw)
  To: Eric Miao; +Cc: linux-next, Russell King, Dmitry Baryshkov

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

Hi Eric,

next-20081125 build (arm corgi_defconfig) failed like this:

arch/arm/mach-pxa/built-in.o: In function `sleep_save_sp':
tosa.c:(.data+0x3978): undefined reference to `tc6393xb_lcd_set_power'
tosa.c:(.data+0x397c): undefined reference to `tc6393xb_lcd_mode'

Caused by commit fc37aa322a7e9170979a044c3f178ae4162ca285 ("[ARM]
pxa/tosa: support tc6393xb/tmiofb.").

-- 
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: arm build failure
  2008-11-26  2:30 Stephen Rothwell
@ 2008-11-26  4:53 ` Eric Miao
  0 siblings, 0 replies; 13+ messages in thread
From: Eric Miao @ 2008-11-26  4:53 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, Russell King, Dmitry Baryshkov

On Wed, Nov 26, 2008 at 10:30 AM, Stephen Rothwell <sfr@canb•auug.org.au> wrote:
> Hi Eric,
>
> next-20081125 build (arm corgi_defconfig) failed like this:
>
> arch/arm/mach-pxa/built-in.o: In function `sleep_save_sp':
> tosa.c:(.data+0x3978): undefined reference to `tc6393xb_lcd_set_power'
> tosa.c:(.data+0x397c): undefined reference to `tc6393xb_lcd_mode'
>
> Caused by commit fc37aa322a7e9170979a044c3f178ae4162ca285 ("[ARM]
> pxa/tosa: support tc6393xb/tmiofb.").
>

Thanks Stephen.

This is caused by corgi_defconfig being incorrectly including the tosa
support, patch is ready for this and will be pushed out soon.

Dmitry,

Please handle the config dependency of tosa.c, tc6393xb.c and tmiofb
correctly.

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

* linux-next: arm build failure
@ 2009-03-19 23:27 Stephen Rothwell
  0 siblings, 0 replies; 13+ messages in thread
From: Stephen Rothwell @ 2009-03-19 23:27 UTC (permalink / raw)
  To: Russell King; +Cc: linux-next

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

Hi Russell,

The linux-next build of mx1ads_defconfig has been failing like this since
next-20090316:

arch/arm/mach-imx/generic.c:32:24: error: mach/imxfb.h: No such file or directory

-- 
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-03-19 23:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-16  6:07 linux-next: arm build failure Stephen Rothwell
2008-06-16  7:29 ` Russell King
2008-06-16  7:37   ` Stephen Rothwell
2008-06-22 19:00     ` Russell King
2008-06-23  8:11       ` Stephen Rothwell
2008-06-16 21:52 ` Dmitry Baryshkov
2008-06-17  4:52   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2008-11-07  2:11 Stephen Rothwell
2008-11-09 10:26 ` Russell King
2008-11-09 10:45   ` Stephen Rothwell
2008-11-26  2:30 Stephen Rothwell
2008-11-26  4:53 ` Eric Miao
2009-03-19 23:27 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox