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
..
2023-04-24 21:37:45 +02:00
2023-05-31 17:23:01 -04:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2022-01-19 18:11:34 +01:00
2022-08-04 16:18:47 -04:00
2023-07-14 15:21:07 -04:00
2023-07-17 17:12:07 +08:00
2023-03-14 16:08:51 -06:00
2023-06-23 14:38:16 -04:00
2021-04-20 07:31:12 -04:00
2023-06-20 20:56:27 -04:00
2023-02-07 14:33:50 -05:00
2023-05-13 09:52:32 -04:00