commit | 323e91a1832b7f10e8966b2fd43b71cf27abefa7 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Wed Sep 06 14:25:11 2023 +0200 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Sep 09 06:12:47 2023 +0200 |
tree | e42856673f424d3d5692190bfbdf331d405d674d | |
parent | c0c08be5468cb26db597932bc69c4eda1129841d [diff] |
spl: undefined return value in spl_blk_load_image spl_blk_load_image() should not return an uninitialized value if blk_get_devnum_by_uclass_id() fails. Fixes: 8ce6a2e17577 ("spl: blk: Support loading images from fs") Reported-by: Xavier Drudis Ferran <xdrudis@tinet.cat> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Xavier Drudis Ferran <xdrudis@tinet.cat>