
3 Oct
2015
3 Oct
'15
4:27 p.m.
On 21 September 2015 at 13:26, Przemyslaw Marczak p.marczak@samsung.com wrote:
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
Changes V2:
- new commit
board/samsung/common/board.c | 4 ++-- board/samsung/common/misc.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org