u-boot/board/samsung
Przemyslaw Marczak bc3f39ea0d samsung: board/misc: check returned pointer for get_board_type() calls
The function get_board_type() is called in two places by common code,
but the returned pointer was never check.

This commit adds checking the returned pointer, before use it.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2015-11-02 10:37:59 +09:00
..
arndale dm: exynos: Make sure that GPIOs are requested 2014-10-22 10:36:33 -06:00
common samsung: board/misc: check returned pointer for get_board_type() calls 2015-11-02 10:37:59 +09:00
goni dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
odroid dm: regulator: uclass driver code cleanup 2015-05-14 19:58:34 -06:00
origen Fix bad return value checks (detected with Coccinelle) 2015-10-24 13:50:30 -04:00
smdk2410 remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
smdk5250 exynos: Add support for spring 2015-08-05 21:06:17 -06:00
smdk5420 exynos: Drop old exynos5420-specific board code 2015-08-05 21:06:16 -06:00
smdkc100 dm: select CONFIG_DM* options 2015-04-18 11:11:30 -06:00
smdkv310 Fix bad return value checks (detected with Coccinelle) 2015-10-24 13:50:30 -04:00
trats remove unnecessary version.h includes 2015-03-24 10:50:50 -04:00
trats2 dm: exynos: Make sure that GPIOs are requested 2014-10-22 10:36:33 -06:00
universal_c210 universal: request soft i2c gpio 2014-10-27 19:21:07 -06:00