[PATCH] blk: host_dev: Fix error code in host_sb_attach_file()

Tom Rini trini at konsulko.com
Wed Feb 7 16:45:23 CET 2024


On Wed, Jan 31, 2024 at 10:09:52AM +0300, Dan Carpenter wrote:

> This error path should return -EINVAL instead of success.
> 
> Fixes: e261fbf34785 ("blk: host_dev: Sanity check on the size of host backing file")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240207/37227041/attachment.sig>


More information about the U-Boot mailing list