diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-06-12 09:32:45 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-06-17 10:26:34 +0200 |
commit | cd73891647a19f4b52f23d23f5c68175b93b56fe (patch) | |
tree | ed44cb1b9358a869454a2e3e16fc47860ddc3b9c /drivers/gpio/gpio-rcar.c | |
parent | ea4a21a298e1a9c4e5ea58309850477b2a19aa87 (diff) | |
download | op-kernel-dev-cd73891647a19f4b52f23d23f5c68175b93b56fe.zip op-kernel-dev-cd73891647a19f4b52f23d23f5c68175b93b56fe.tar.gz |
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>
Diffstat (limited to 'drivers/gpio/gpio-rcar.c')
0 files changed, 0 insertions, 0 deletions