[U-Boot] SPL: fat: Fix spl_parse_image_header() return value handling

Heiko Schocher hs at denx.de
Mon May 23 14:14:47 CEST 2016


Hello Marek,

Am 20.05.2016 um 01:45 schrieb Marek Vasut:
> The spl_parse_image_header() can return 0 and it is not an error.
> Only treat non-zero return value as an error.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Peng Fan <van.freenix at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
> Reviewed-by: Peng Fan <van.freenix at gmail.com>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
>   common/spl/spl_fat.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Thanks!

So:
Reviewed-by: Heiko Schocher <hs at denx.de>
Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list