common: bootm: check return value of strict_strtoul
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 24 Nov 2015 08:54:20 +0000 (16:54 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:12 +0000 (18:22 -0500)
commitbc3c89b1308281edceb67051a44026545dc7b505
treeaf39a7b86f37872b7933936b19f4f8f1dfff2bbf
parent9eed48c8bec98425dbd995dd72c40e9ad7a8c26b
common: bootm: check return value of strict_strtoul

Before continue, check return value of strict_strtoul.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: York Sun <yorksun@freescale.com>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/bootm.c