Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpiolib: fix OOB access in quirk callbacks
Commit a2b5e20 ("gpiolib: rework quirk handling in of_find_gpio()") introduced an array of quirk functions which get iterated over. But a sentinal value is missing. Add it. Fixes: a2b5e20 ("gpiolib: rework quirk handling in of_find_gpio()") Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Conor Dooley <[email protected]> Reviewed-by: Dmitry Torokhov <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Tested-by: Biju Das <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
- Loading branch information