[U-Boot] [PATCH V3 01/14] samsung: board/misc: check returned pointer for get_board_type() calls
Anand Moon
linux.amoon at gmail.com
Fri Oct 30 04:00:15 CET 2015
On 29 October 2015 at 00:20, Simon Glass <sjg at chromium.org> wrote:
> On 27 October 2015 at 06:07, Przemyslaw Marczak <p.marczak at 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 at samsung.com>
>> Cc: Minkyu Kang <mk7.kang at 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 at chromium.org>
Tested-by: Anand Moon <linux.amoon at gmail.com>
-Anand Moon
More information about the U-Boot
mailing list