diff options
author | 2014-05-30 15:50:52 +0530 | |
---|---|---|
committer | 2014-06-19 09:34:56 +0200 | |
commit | bd07894e217b174361711320be50c8308456096d (patch) | |
tree | c641beb3279edfca46b9d9619ece020449d47914 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 3.16-rc1 (diff) | |
download | linux-dev-bd07894e217b174361711320be50c8308456096d.tar.xz linux-dev-bd07894e217b174361711320be50c8308456096d.zip |
pinctrl: sunxi: Fix potential null pointer dereference
kzalloc can fail. Add a null check to avoid null pointer
dereference error while accessing the pointer later.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions