summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-ml-ioh.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-05-25 11:37:37 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 14:33:42 +0300
commitd76e8babe420edbf9f9f9c78e42ef01f0e62dc07 (patch)
tree23d83d6663f192c2e2189b6a2f94cb3ca0c1b7c2 /drivers/gpio/gpio-ml-ioh.c
parent09445a103eb4e6a0b881056c1dc5f4ca8a186671 (diff)
downloadlinux-d76e8babe420edbf9f9f9c78e42ef01f0e62dc07.tar.xz
gpio: sta2x11: check the return value of irq_alloc_generic_chip()
This function can fail, so check the return value before dereferencing the returned pointer. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ml-ioh.c')
0 files changed, 0 insertions, 0 deletions