commit | 8d8ee18cc707f498b6dad18915576f23b00bcff8 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Mon Mar 21 20:03:50 2016 +0800 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 30 10:39:39 2016 +0200 |
tree | bb2862066c6a7494e3e1b22d56961db3cf740f0b | |
parent | fd975a7b180c9a8f6e02d2251eaabe9b0dcfeed6 [diff] |
gpio: xgene: Prevent NULL pointer dereference platform_get_resource() can return NULL, thus add NULL test to prevent NULL pointer dereference. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>