diff options
author | Nikita Shubin <n.shubin@yadro.com> | 2022-12-12 11:03:35 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-12 11:25:46 -0500 |
commit | cf7aa035433a73969a8e7b8e3261410bdeb0a214 (patch) | |
tree | 0e4b18bb2e0f1a0eb7eec7f10c38255c045e94b7 /lib/zstd/zstd_common_module.c | |
parent | c40e021b83d9db9aec736a0cb992fd84d2e63c02 (diff) |
common: spl: ram: fix return code
Instead of always retuning success, return actual result of
load_simple_fit_image or spl_parse_image_header, otherwise we
might end up jumping on uninitialized spl_image->entry_point.
Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib/zstd/zstd_common_module.c')
0 files changed, 0 insertions, 0 deletions