tmp_suning_uos_patched/drivers/pinctrl/sunxi
Sachin Kamat bd07894e21 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>
2014-06-19 09:34:56 +02:00
..
Kconfig pinctrl: sunxi: depend on RESET_CONTROLLER 2014-05-27 15:19:21 +02:00
Makefile pinctrl: sunxi: Fix recursive dependency 2014-05-23 00:35:16 +02:00
pinctrl-sun4i-a10.c pinctrl: sunxi: Move Allwinner A10 pinctrl driver to a driver of its own 2014-05-04 00:03:28 -07:00
pinctrl-sun5i-a10s.c pinctrl: sunxi: Move Allwinner A10s pinctrl driver to a driver of its own 2014-05-04 00:03:29 -07:00
pinctrl-sun5i-a13.c pinctrl: sunxi: Move Allwinner A13 pinctrl driver to a driver of its own 2014-05-04 00:03:29 -07:00
pinctrl-sun6i-a31-r.c pinctrl: sunxi: Move the reset handling functions out of the core 2014-05-04 19:57:18 -05:00
pinctrl-sun6i-a31.c pinctrl: sunxi: Move Allwinner A31 pinctrl driver to a driver of its own 2014-05-04 00:03:30 -07:00
pinctrl-sun7i-a20.c pinctrl: sunxi: Move Allwinner A20 pinctrl driver to a driver of its own 2014-05-04 00:04:49 -07:00
pinctrl-sunxi.c pinctrl: sunxi: Fix potential null pointer dereference 2014-06-19 09:34:56 +02:00
pinctrl-sunxi.h pinctrl: sunxi: Libraryse the driver 2014-05-04 00:03:24 -07:00