diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-05-25 10:37:36 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 13:33:01 +0200 |
commit | 09445a103eb4e6a0b881056c1dc5f4ca8a186671 (patch) | |
tree | f0eb29ed0d704818d5c139408df0656e11d178c9 /drivers/gpio/gpio-it87.c | |
parent | c7f5326fb433d826de215e894918edfc4e45cc70 (diff) | |
download | linux-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