On Mon, Dec 10, 2012 at 12:32:18AM -0200, Fabio Estevam wrote:
> From: Fabio Estevam
> commit b3a223ee2d (spi: Remove SPI_BUFSIZ restriction on
> spi_write_then_read())
> introduced the following build warning:
> drivers/spi/spi.c:1655:355: warning: comparison of distinct pointer types
> lacks
From: Fabio Estevam
commit b3a223ee2d (spi: Remove SPI_BUFSIZ restriction on spi_write_then_read())
introduced the following build warning:
drivers/spi/spi.c:1655:355: warning: comparison of distinct pointer types lacks
a cast [enabled by default]
Provide the cast to avoid the warning.
Signed