commit | e3fe07e03e61c8483e8ffe804108787192177a76 | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <brgl@bgdev.pl> | Thu May 25 10:37:38 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon May 29 13:34:22 2017 +0200 |
tree | 79134dd9f6b0f6111f4969f0cc6d711015087b29 | |
parent | d76e8babe420edbf9f9f9c78e42ef01f0e62dc07 [diff] |
gpio: ml-ioh: 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>