linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (sparc-current tree related)
@ 2011-06-03  3:53 Stephen Rothwell
  2011-06-03  5:20 ` David Miller
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2011-06-03  3:53 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-kernel, Daniel Hellstrom

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

Hi all,

After merging the final tree, today's linux-next build (sparc64 defconfig)
failed like this:

In file included from arch/sparc/kernel/pcic.c:38:0:
arch/sparc/kernel/irq.h:40:58: error: 'SUN4M_NCPUS' undeclared here (not in a function)
arch/sparc/kernel/irq.h:55:14: error: conflicting types for 'irq_alloc'
arch/sparc/include/asm/irq_64.h:60:22: note: previous declaration of 'irq_alloc' was here
arch/sparc/kernel/pcic.c: In function 'pdev_to_pnode':
arch/sparc/kernel/pcic.c:452:34: error: 'struct linux_prom_pci_registers' has no member named 'which_io'
arch/sparc/kernel/pcic.c: In function 'pci_time_init':
arch/sparc/kernel/pcic.c:738:2: error: 'do_arch_gettimeoffset' undeclared (first use in this function)
arch/sparc/kernel/pcic.c:738:2: note: each undeclared identifier is reported only once for each function it appears in
arch/sparc/kernel/pcic.c: In function 'pcic_nmi':
arch/sparc/kernel/pcic.c:790:2: error: implicit declaration of function 'flip_dword'
arch/sparc/kernel/pcic.c:798:22: error: 'struct pt_regs' has no member named 'pc'
arch/sparc/kernel/pcic.c:803:6: error: 'struct pt_regs' has no member named 'pc'
arch/sparc/kernel/pcic.c:803:17: error: 'struct pt_regs' has no member named 'npc'
arch/sparc/kernel/pcic.c:804:6: error: 'struct pt_regs' has no member named 'npc'
cc1: warnings being treated as errors
arch/sparc/kernel/pcic.c: At top level:
arch/sparc/kernel/pcic.c:812:34: error: 'struct irq_data' declared inside parameter list
arch/sparc/kernel/pcic.c:812:34: error: its scope is only this definition or declaration, which is probably not what you want
arch/sparc/kernel/pcic.c: In function 'pcic_mask_irq':
arch/sparc/kernel/pcic.c:816:28: error: dereferencing pointer to incomplete type
arch/sparc/kernel/pcic.c: At top level:
arch/sparc/kernel/pcic.c:822:36: error: 'struct irq_data' declared inside parameter list
arch/sparc/kernel/pcic.c: In function 'pcic_unmask_irq':
arch/sparc/kernel/pcic.c:826:28: error: dereferencing pointer to incomplete type
arch/sparc/kernel/pcic.c: At top level:
arch/sparc/kernel/pcic.c:832:45: error: 'struct irq_data' declared inside parameter list
arch/sparc/kernel/pcic.c: In function 'pcic_startup_irq':
arch/sparc/kernel/pcic.c:834:15: error: dereferencing pointer to incomplete type
arch/sparc/kernel/pcic.c:835:2: error: passing argument 1 of 'pcic_unmask_irq' from incompatible pointer type
arch/sparc/kernel/pcic.c:822:13: note: expected 'struct irq_data *' but argument is of type 'struct irq_data *'
arch/sparc/kernel/pcic.c: At top level:
arch/sparc/kernel/pcic.c:839:15: error: variable 'pcic_irq' has initializer but incomplete type
arch/sparc/kernel/pcic.c:840:2: error: unknown field 'name' specified in initializer
arch/sparc/kernel/pcic.c:840:2: error: excess elements in struct initializer
arch/sparc/kernel/pcic.c:840:2: error: (near initialization for 'pcic_irq')
arch/sparc/kernel/pcic.c:841:2: error: unknown field 'irq_startup' specified in initializer
arch/sparc/kernel/pcic.c:841:2: error: excess elements in struct initializer
arch/sparc/kernel/pcic.c:841:2: error: (near initialization for 'pcic_irq')
arch/sparc/kernel/pcic.c:842:2: error: unknown field 'irq_mask' specified in initializer
arch/sparc/kernel/pcic.c:842:2: error: excess elements in struct initializer
arch/sparc/kernel/pcic.c:842:2: error: (near initialization for 'pcic_irq')
arch/sparc/kernel/pcic.c:843:2: error: unknown field 'irq_unmask' specified in initializer
arch/sparc/kernel/pcic.c:843:2: error: excess elements in struct initializer
arch/sparc/kernel/pcic.c:843:2: error: (near initialization for 'pcic_irq')
arch/sparc/kernel/pcic.c: In function 'pcic_build_device_irq':
arch/sparc/kernel/pcic.c:861:2: error: implicit declaration of function 'irq_set_chip_and_handler_name'
arch/sparc/kernel/pcic.c:862:32: error: 'handle_level_irq' undeclared (first use in this function)
arch/sparc/kernel/pcic.c:863:2: error: implicit declaration of function 'irq_set_chip_data'

Caused by commit cfe3af5dde34 ("sparc32: added CONFIG_PCIC_PCI Kconfig
setting") from the sparc-current tree.

I have reverted that commit (and the 2 following commits that depend on
it) 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] 8+ messages in thread

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-06-03  3:53 linux-next: build failure after merge of the final tree (sparc-current tree related) Stephen Rothwell
@ 2011-06-03  5:20 ` David Miller
  2011-06-03  7:42   ` Daniel Hellstrom
  0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2011-06-03  5:20 UTC (permalink / raw)
  To: sfr; +Cc: linux-next, linux-kernel, daniel

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 3 Jun 2011 13:53:47 +1000

> Caused by commit cfe3af5dde34 ("sparc32: added CONFIG_PCIC_PCI Kconfig
> setting") from the sparc-current tree.
> 
> I have reverted that commit (and the 2 following commits that depend on
> it) for today.

Oops, that needs a sparc32 depencency.  I'll fix that, thanks!

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

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-06-03  5:20 ` David Miller
@ 2011-06-03  7:42   ` Daniel Hellstrom
  2011-06-03  8:14     ` David Miller
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Hellstrom @ 2011-06-03  7:42 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, linux-next, linux-kernel

David Miller wrote:

>From: Stephen Rothwell <sfr@canb.auug.org.au>
>Date: Fri, 3 Jun 2011 13:53:47 +1000
>
>  
>
>>Caused by commit cfe3af5dde34 ("sparc32: added CONFIG_PCIC_PCI Kconfig
>>setting") from the sparc-current tree.
>>
>>I have reverted that commit (and the 2 following commits that depend on
>>it) for today.
>>    
>>
>
>Oops, that needs a sparc32 depencency.  I'll fix that, thanks!
>  
>
missed that, PCIC_PCI should depend on SPARC32_PCI instead of PCI in the 
following lines that were added by the patch

+config PCIC_PCI
+	bool
+	depends on PCI && !SPARC_LEON
+	default y
+

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

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-06-03  7:42   ` Daniel Hellstrom
@ 2011-06-03  8:14     ` David Miller
  2011-06-03 12:26       ` Daniel Hellstrom
  0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2011-06-03  8:14 UTC (permalink / raw)
  To: daniel; +Cc: sfr, linux-next, linux-kernel

From: Daniel Hellstrom <daniel@gaisler.com>
Date: Fri, 03 Jun 2011 09:42:39 +0200

> missed that, PCIC_PCI should depend on SPARC32_PCI instead of PCI in
> the following lines that were added by the patch
> 
> +config PCIC_PCI
> +	bool
> +	depends on PCI && !SPARC_LEON
> +	default y
> +

The fixed I pushed out used PCI && SPARC32 && !SPARC_LEON

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

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-06-03  8:14     ` David Miller
@ 2011-06-03 12:26       ` Daniel Hellstrom
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Hellstrom @ 2011-06-03 12:26 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, linux-next, linux-kernel

David Miller wrote:

>From: Daniel Hellstrom <daniel@gaisler.com>
>Date: Fri, 03 Jun 2011 09:42:39 +0200
>
>  
>
>>missed that, PCIC_PCI should depend on SPARC32_PCI instead of PCI in
>>the following lines that were added by the patch
>>
>>+config PCIC_PCI
>>+	bool
>>+	depends on PCI && !SPARC_LEON
>>+	default y
>>+
>>    
>>
>
>The fixed I pushed out used PCI && SPARC32 && !SPARC_LEON
>  
>
Ok, the same thing, thanks.

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

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-03-31  4:10 ` David Miller
@ 2011-03-31 13:46   ` Daniel Hellstrom
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Hellstrom @ 2011-03-31 13:46 UTC (permalink / raw)
  To: David Miller; +Cc: sfr, linux-next, linux-kernel

David Miller wrote:

>From: Stephen Rothwell <sfr@canb.auug.org.au>
>Date: Thu, 31 Mar 2011 13:01:27 +1100
>
>  
>
>>Hi all,
>>
>>After merging the final tree, today's linux-next build (powerpc
>>allyesconfig) failed like this:
>>
>>drivers/tty/serial/apbuart.c: In function 'apbuart_probe':
>>drivers/tty/serial/apbuart.c:568: error: 'struct pdev_archdata' has no member named 'irqs'
>>
>>Caused by commit 10544f128c33 ("sparc32, leon: APBUART driver must use
>>archdata to get IRQ number").
>>
>>I have reverted that commit for today (and commit c897dcf6311e
>>"sparc32,leon: Fixed APBUART frequency detection" that conflicts with the
>>revert).
>>    
>>
>
>Thanks, I'll make apbuart depend upon sparc to fix this.
>  
>
Thanks all.

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

* Re: linux-next: build failure after merge of the final tree (sparc-current tree related)
  2011-03-31  2:01 Stephen Rothwell
@ 2011-03-31  4:10 ` David Miller
  2011-03-31 13:46   ` Daniel Hellstrom
  0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2011-03-31  4:10 UTC (permalink / raw)
  To: sfr; +Cc: linux-next, linux-kernel, daniel

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 31 Mar 2011 13:01:27 +1100

> Hi all,
> 
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> drivers/tty/serial/apbuart.c: In function 'apbuart_probe':
> drivers/tty/serial/apbuart.c:568: error: 'struct pdev_archdata' has no member named 'irqs'
> 
> Caused by commit 10544f128c33 ("sparc32, leon: APBUART driver must use
> archdata to get IRQ number").
> 
> I have reverted that commit for today (and commit c897dcf6311e
> "sparc32,leon: Fixed APBUART frequency detection" that conflicts with the
> revert).

Thanks, I'll make apbuart depend upon sparc to fix this.

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

* linux-next: build failure after merge of the final tree (sparc-current tree related)
@ 2011-03-31  2:01 Stephen Rothwell
  2011-03-31  4:10 ` David Miller
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2011-03-31  2:01 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, linux-kernel, Daniel Hellstrom

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

Hi all,

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

drivers/tty/serial/apbuart.c: In function 'apbuart_probe':
drivers/tty/serial/apbuart.c:568: error: 'struct pdev_archdata' has no member named 'irqs'

Caused by commit 10544f128c33 ("sparc32, leon: APBUART driver must use
archdata to get IRQ number").

I have reverted that commit for today (and commit c897dcf6311e
"sparc32,leon: Fixed APBUART frequency detection" that conflicts with the
revert).
-- 
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] 8+ messages in thread

end of thread, other threads:[~2011-06-03 12:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-03  3:53 linux-next: build failure after merge of the final tree (sparc-current tree related) Stephen Rothwell
2011-06-03  5:20 ` David Miller
2011-06-03  7:42   ` Daniel Hellstrom
2011-06-03  8:14     ` David Miller
2011-06-03 12:26       ` Daniel Hellstrom
  -- strict thread matches above, loose matches on Subject: below --
2011-03-31  2:01 Stephen Rothwell
2011-03-31  4:10 ` David Miller
2011-03-31 13:46   ` Daniel Hellstrom

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