diff options
author | Tom Rini <trini@konsulko.com> | 2016-05-23 11:51:13 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-23 11:51:13 -0400 |
commit | d550e82e4efebf5995809e38e8fb029b8fe6e861 (patch) | |
tree | be83b47399044d43e439256cd132407db9ed2ca1 /include/post.h | |
parent | 5f89a15e1630e9050c8b1b5307ccd800e4596ce5 (diff) |
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 <marex@denx.de>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Peng Fan <van.freenix@gmail.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/post.h')
0 files changed, 0 insertions, 0 deletions