linux-next: tty tree build failure

From: Stephen Rothwell
Date: Wed Dec 23 2009 - 18:48:46 EST


Hi Greg,

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

drivers/mmc/card/sdio_uart.c: In function 'sdio_uart_add_port':
drivers/mmc/card/sdio_uart.c:99: warning: passing argument 1 of 'kfifo_alloc' makes pointer from integer without a cast
include/linux/kfifo.h:110: note: expected 'struct kfifo *' but argument is of type 'long unsigned int'
drivers/mmc/card/sdio_uart.c:99: warning: passing argument 3 of 'kfifo_alloc' makes integer from pointer without a cast
include/linux/kfifo.h:110: note: expected 'gfp_t' but argument is of type 'struct spinlock_t *'
drivers/mmc/card/sdio_uart.c:99: warning: assignment makes pointer from integer without a cast
drivers/mmc/card/sdio_uart.c: In function 'sdio_uart_transmit_chars':
drivers/mmc/card/sdio_uart.c:476: error: implicit declaration of function 'kfifo_get'
drivers/mmc/card/sdio_uart.c: In function 'sdio_uart_write':
drivers/mmc/card/sdio_uart.c:810: error: implicit declaration of function 'kfifo_put'

Caused by commit ed30500af457c06b533549f5554671e58c4db18a ("tty:
sdio_uart: Use kfifo instead of the messy circ stuff") interacting with
the kfifo API change in Linus' tree.

I have reverted that commit for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature