summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adp5588.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-05-25 10:37:37 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 13:33:42 +0200
commitd76e8babe420edbf9f9f9c78e42ef01f0e62dc07 (patch)
tree23d83d6663f192c2e2189b6a2f94cb3ca0c1b7c2 /drivers/gpio/gpio-adp5588.c
parentgpio: pch: check the return value of irq_alloc_generic_chip() (diff)
downloadlinux-d76e8babe420edbf9f9f9c78e42ef01f0e62dc07.tar.xz
linux-d76e8babe420edbf9f9f9c78e42ef01f0e62dc07.zip
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-adp5588.c')
0 files changed, 0 insertions, 0 deletions