Re: [PATCH] spi: fix pointer-integer size mismatch warning

From: Mark Brown
Date: Tue Feb 04 2014 - 06:18:21 EST


On Tue, Feb 04, 2014 at 03:58:09PM +0900, SeongJae Park wrote:
> Fix the pointer-integer size mismatch warning below:
> drivers/spi/spi-gpio.c: In function âspi_gpio_setupâ:
> drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of
> different size [-Wpointer-to-int-cast]
> cs = (unsigned int) spi->controller_data;
> ^

Applied, thanks.

Attachment: signature.asc
Description: Digital signature