commit | cd73891647a19f4b52f23d23f5c68175b93b56fe | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Jun 12 09:32:45 2013 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Jun 17 10:26:34 2013 +0200 |
tree | ed44cb1b9358a869454a2e3e16fc47860ddc3b9c | |
parent | ea4a21a298e1a9c4e5ea58309850477b2a19aa87 [diff] |
gpio-sta2x11: Fix potential NULL pointer dereference devm_kzalloc can return NULL. Check for it before dereferencing. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>