linux-next: build warning in Linus' tree

From: Stephen Rothwell
Date: Thu Jan 13 2011 - 18:51:38 EST


Hi all,

While building Linus' tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/gpio/timbgpio.c: In function 'timbgpio_irq':
drivers/gpio/timbgpio.c:202: warning: passing argument 1 of 'irq_get_irq_data' makes integer from pointer without a cast
include/linux/irq.h:345: note: expected 'unsigned int' but argument is of type 'struct irq_data *'
drivers/gpio/timbgpio.c:202: warning: passing argument 1 of 'desc-><U be0>.irq_data.chip->ack' makes integer from pointer without a cast
drivers/gpio/timbgpio.c:202: note: expected 'unsigned int' but argument is of type 'struct irq_data *'
drivers/gpio/timbgpio.c: In function 'timbgpio_probe':
drivers/gpio/timbgpio.c:303: warning: passing argument 2 of 'set_irq_chained_handler' from incompatible pointer type
include/linux/irq.h:294: note: expected 'irq_flow_handler_t' but argument is of type 'void (*)(struct irq_data *, struct irq_desc *)'

Introduced by commit a1f5f22adc3206c47e70652c12671666c65b579f ("gpio:
timbgpio: irq_data conversion").

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature