commit | 6eba2bcd67769c1ac312a7b51b2ff41eab691971 | [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 | 823eb5a02098c5604c9af54aa780f1d668e0d155 [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>