linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: net/wireless tree build failure
@ 2009-06-09 13:33 Stephen Rothwell
  2009-06-09 13:54 ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2009-06-09 13:33 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-next, linux-kernel, Johannes Berg, David S. Miller

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

Hi John, Dave,

Today's linux-next build (pmac32 defconfig) failed like this:

In file included from drivers/net/wireless/b43/phy_common.h:5,
                 from drivers/net/wireless/b43/phy_common.c:30:
include/linux/rfkill.h: In function 'rfkill_alloc':
include/linux/rfkill.h:279: error: implicit declaration of function 'ERR_PTR'
include/linux/rfkill.h:279: warning: return makes pointer from integer without a cast
include/linux/rfkill.h: In function 'rfkill_register':
include/linux/rfkill.h:284: warning: comparison between pointer and integer
In file included from include/linux/dma-mapping.h:6,
                 from arch/powerpc/include/asm/pci.h:16,
                 from include/linux/pci.h:1101,
                 from include/linux/ssb/ssb.h:9,
                 from drivers/net/wireless/b43/b43.h:9,
                 from drivers/net/wireless/b43/phy_common.c:35:
include/linux/err.h: At top level:
include/linux/err.h:22: error: conflicting types for 'ERR_PTR'
include/linux/rfkill.h:279: note: previous implicit declaration of 'ERR_PTR' was here

Probably caused by commit 19d337dff95cbf76edd3ad95c0cee2732c3e1ec5
("rfkill: rewrite") which added uses of ERR_PTR to inlines in rfkill.h
but did not include linux/err.h.

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

* Re: linux-next: net/wireless tree build failure
  2009-06-09 13:33 linux-next: net/wireless tree build failure Stephen Rothwell
@ 2009-06-09 13:54 ` Johannes Berg
  2009-06-09 14:02   ` Stephen Rothwell
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2009-06-09 13:54 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: John W. Linville, linux-next, linux-kernel, David S. Miller

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

On Tue, 2009-06-09 at 23:33 +1000, Stephen Rothwell wrote:

> Probably caused by commit 19d337dff95cbf76edd3ad95c0cee2732c3e1ec5
> ("rfkill: rewrite") which added uses of ERR_PTR to inlines in rfkill.h
> but did not include linux/err.h.

Indeed. Something must be including linux/err.h for me, I'll send a fix.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

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

* Re: linux-next: net/wireless tree build failure
  2009-06-09 13:54 ` Johannes Berg
@ 2009-06-09 14:02   ` Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2009-06-09 14:02 UTC (permalink / raw)
  To: Johannes Berg; +Cc: John W. Linville, linux-next, linux-kernel, David S. Miller

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

Hi Johannes,

On Tue, 09 Jun 2009 15:54:42 +0200 Johannes Berg <johannes@sipsolutions.net> wrote:
>
> On Tue, 2009-06-09 at 23:33 +1000, Stephen Rothwell wrote:
> 
> > Probably caused by commit 19d337dff95cbf76edd3ad95c0cee2732c3e1ec5
> > ("rfkill: rewrite") which added uses of ERR_PTR to inlines in rfkill.h
> > but did not include linux/err.h.
> 
> Indeed. Something must be including linux/err.h for me, I'll send a fix.

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

* linux-next:  net/wireless tree build failure
@ 2008-07-09 11:26 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2008-07-09 11:26 UTC (permalink / raw)
  To: David Miller; +Cc: linux-next, Michael Buesch, John W. Linville

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

Hi Dave, John,

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

In file included from drivers/net/wireless/b43/b43.h:8,
                 from drivers/net/wireless/b43/phy.c:33:
include/linux/ssb/ssb.h: In function `ssb_dma_mapping_error':
include/linux/ssb/ssb.h:431: error: implicit declaration of function `dma_mapping_error'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:439: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:439: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/ssb/ssb.h:440: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_map_single':
include/linux/ssb/ssb.h:445: error: implicit declaration of function `dma_map_single'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:453: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:454: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_unmap_single':
include/linux/ssb/ssb.h:460: error: implicit declaration of function `dma_unmap_single'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:470: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:471: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_sync_single_for_cpu':
include/linux/ssb/ssb.h:478: error: implicit declaration of function `dma_sync_single_for_cpu'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:488: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:489: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_sync_single_for_device':
include/linux/ssb/ssb.h:496: error: implicit declaration of function `dma_sync_single_for_device'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:507: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:508: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_sync_single_range_for_cpu':
include/linux/ssb/ssb.h:516: error: implicit declaration of function `dma_sync_single_range_for_cpu'
include/linux/ssb/ssb.h: At top level:
include/linux/ssb/ssb.h:528: warning: "enum dma_data_direction" declared inside parameter list
include/linux/ssb/ssb.h:529: error: parameter `dir' has incomplete type
include/linux/ssb/ssb.h: In function `ssb_dma_sync_single_range_for_device':
include/linux/ssb/ssb.h:537: error: implicit declaration of function `dma_sync_single_range_for_device'

Probably caused by commit f225763a7d6c92c4932dbd528437997078496fcc
("ssb, b43, b43legacy, b44: Rewrite SSB DMA API"). ssb/ssb.h should
include linux/dma-mapping.h.

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

end of thread, other threads:[~2009-06-09 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-09 13:33 linux-next: net/wireless tree build failure Stephen Rothwell
2009-06-09 13:54 ` Johannes Berg
2009-06-09 14:02   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2008-07-09 11:26 Stephen Rothwell

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