Skip to content
Commit 1e86296f authored by Sean Anderson's avatar Sean Anderson Committed by Tom Rini
Browse files

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: 8ce6a2e1 ("spl: blk: Support loading images from fs")
Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 5e6a112e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment