Heinrich Schuchardt 323e91a183 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>
2023-09-09 06:12:47 +02:00
..
2022-10-31 11:03:59 -04:00
2023-06-24 13:47:02 -04:00
2023-07-30 18:53:08 +02:00
2022-09-25 08:30:05 -06:00
2023-07-30 18:53:08 +02:00