diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-10-27 12:07:54 (GMT) |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-11-02 01:37:59 (GMT) |
commit | bc3f39ea0d3c9339b7f09b1d766b6a62e1921033 (patch) | |
tree | a995db40b0242cc4aac71787598305e0223ff420 /doc | |
parent | 0e067a65f57189703668826d9841fea477026bf6 (diff) | |
download | u-boot-fsl-qoriq-bc3f39ea0d3c9339b7f09b1d766b6a62e1921033.tar.xz |
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>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions