Re: [PATCH] spi: spi.c: Provide cast to avoid warning

2012-12-09 Thread Mark Brown
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

[PATCH] spi: spi.c: Provide cast to avoid warning

2012-12-09 Thread Fabio Estevam
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