[PATCH] gpio: Fix range check in of_gpio_simple_xlate()

Roland Stigge stigge at antcom.de
Tue Apr 3 20:11:12 EDT 2012


On 04/04/12 02:02, Roland Stigge wrote:
> This patch fixes a range check in of_gpio_simple_xlate() by replacing a
> "> gc->ngpio" with ">= gc->ngpio" since range is from 0 to gc->ngpio - 1
> 
> Signed-off-by: Roland Stigge <stigge at antcom.de>

CC: stable at vger.kernel.org



More information about the linux-arm-kernel mailing list