diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-05-25 10:37:37 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-05-29 13:33:42 +0200 |
commit | d76e8babe420edbf9f9f9c78e42ef01f0e62dc07 (patch) | |
tree | 23d83d6663f192c2e2189b6a2f94cb3ca0c1b7c2 /drivers/gpio/gpio-adp5588.c | |
parent | gpio: pch: check the return value of irq_alloc_generic_chip() (diff) | |
download | linux-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