summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-adp5588.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-05-25 10:37:38 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 13:34:22 +0200
commite3fe07e03e61c8483e8ffe804108787192177a76 (patch)
tree79134dd9f6b0f6111f4969f0cc6d711015087b29 /drivers/gpio/gpio-adp5588.c
parentgpio: sta2x11: check the return value of irq_alloc_generic_chip() (diff)
downloadlinux-e3fe07e03e61c8483e8ffe804108787192177a76.tar.xz
linux-e3fe07e03e61c8483e8ffe804108787192177a76.zip
gpio: ml-ioh: 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