| commit | bd07894e217b174361711320be50c8308456096d | [log] [tgz] |
|---|---|---|
| author | Sachin Kamat <sachin.kamat@linaro.org> | Fri May 30 15:50:52 2014 +0530 |
| committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jun 19 09:34:56 2014 +0200 |
| tree | c641beb3279edfca46b9d9619ece020449d47914 | |
| parent | 7171511eaec5bf23fb06078f59784a3a0626b38f [diff] |
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>