linux-next: net/wireless tree build failure
From: Stephen Rothwell
Date: Tue Jun 09 2009 - 09:34:17 EST
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,
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,
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.
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Description: PGP signature