summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-sta2x11.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-05-25 10:37:36 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-05-29 13:33:01 +0200
commit09445a103eb4e6a0b881056c1dc5f4ca8a186671 (patch)
treef0eb29ed0d704818d5c139408df0656e11d178c9 /drivers/gpio/gpio-sta2x11.c
parentgpio: mockup: support irqmask and irqunmask (diff)
downloadlinux-09445a103eb4e6a0b881056c1dc5f4ca8a186671.tar.xz
linux-09445a103eb4e6a0b881056c1dc5f4ca8a186671.zip
gpio: pch: 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 '')
0 files changed, 0 insertions, 0 deletions