commit | 1e86296f7f1079b70c583a917d0c24cd02f77491 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Wed Nov 08 11:48:33 2023 -0500 |
committer | Tom Rini <trini@konsulko.com> | Thu Nov 16 13:49:13 2023 -0500 |
tree | daaba337ccd5f32420a8b02b87dae017087851f2 | |
parent | 5e6a112e1187ebc570b8befd1dd6eef3a64dec39 [diff] |
spl: blk_fs: Fix uninitialized return value when we can't get a blk_desc Initialize ret to avoid returning garbage if blk_get_devnum_by_uclass_id fails. Fixes: 8ce6a2e1757 ("spl: blk: Support loading images from fs") Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>