The patch titled spi-gpio: sanitize MISO bitvalue has been removed from the -mm tree. Its filename was spi-gpio-sanitize-miso-bitvalue.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: spi-gpio: sanitize MISO bitvalue From: Michael Buesch <mb@xxxxxxxxx> gpio_get_value() returns 0 or nonzero, but getmiso() expects 0 or 1. Sanitize the value to a 0/1 boolean. Signed-off-by: Michael Buesch <mb@xxxxxxxxx> Acked-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/spi/spi_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/spi/spi_gpio.c~spi-gpio-sanitize-miso-bitvalue drivers/spi/spi_gpio.c --- a/drivers/spi/spi_gpio.c~spi-gpio-sanitize-miso-bitvalue +++ a/drivers/spi/spi_gpio.c @@ -114,7 +114,7 @@ static inline void setmosi(const struct static inline int getmiso(const struct spi_device *spi) { - return gpio_get_value(SPI_MISO_GPIO); + return !!gpio_get_value(SPI_MISO_GPIO); } #undef pdata _ Patches currently in -mm which might be from mb@xxxxxxxxx are origin.patch linux-next.patch bcm47xx-fix-gpio-api-return-codes.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html