]> Git Repo - J-u-boot.git/commit
SPL: fat: Fix spl_parse_image_header() return value handling
authorTom Rini <[email protected]>
Mon, 23 May 2016 15:51:13 +0000 (11:51 -0400)
committerTom Rini <[email protected]>
Mon, 23 May 2016 15:51:13 +0000 (11:51 -0400)
commitd550e82e4efebf5995809e38e8fb029b8fe6e861
treebe83b47399044d43e439256cd132407db9ed2ca1
parent5f89a15e1630e9050c8b1b5307ccd800e4596ce5
SPL: fat: Fix spl_parse_image_header() return value handling

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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
common/spl/spl_fat.c
This page took 0.035132 seconds and 4 git commands to generate.