summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-it87.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-it87.c
parentc7f5326fb433d826de215e894918edfc4e45cc70 (diff)
downloadlinux-stable-09445a103eb4e6a0b881056c1dc5f4ca8a186671.tar.gz
linux-stable-09445a103eb4e6a0b881056c1dc5f4ca8a186671.tar.bz2
linux-stable-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 'drivers/gpio/gpio-it87.c')
0 files changed, 0 insertions, 0 deletions