mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
of_gpio_simple_xlate() has an off-by-one bug where it checks to see if args[0] is > ngpio instead of >=. args[0] must always be less than ngpio because it is a zero-based enumeration. Signed-off-by: Roland Stigge <[email protected]> [grant.likely: beef up commit text] Signed-off-by: Grant Likely <[email protected]>