Re: [PATCH 05/15] blk: host_dev: Sanity check on the size of host backing file

2023-10-01 Thread Simon Glass
On Tue, 26 Sept 2023 at 02:49, Bin Meng wrote: > > Since we are emulating a block device, its size should be multiple > of the configured block size. > > Signed-off-by: Bin Meng > --- > > drivers/block/host_dev.c | 5 + > 1 file changed, 5 insertions(+) > Reviewed-by: Simon Glass

[PATCH 05/15] blk: host_dev: Sanity check on the size of host backing file

2023-09-26 Thread Bin Meng
Since we are emulating a block device, its size should be multiple of the configured block size. Signed-off-by: Bin Meng --- drivers/block/host_dev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/block/host_dev.c b/drivers/block/host_dev.c index 0b43f80a86..30c7415793 100644