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

2024-02-07 Thread Tom Rini
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 Applied to u-boot/master, thanks! -- Tom

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

2024-01-30 Thread Dan Carpenter
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 --- drivers/block/host_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/host_dev.c