commit | 09445a103eb4e6a0b881056c1dc5f4ca8a186671 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Thu May 25 10:37:36 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon May 29 13:33:01 2017 +0200 |
tree | f0eb29ed0d704818d5c139408df0656e11d178c9 | |
parent | c7f5326fb433d826de215e894918edfc4e45cc70 [diff] |
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>