u-boot/drivers/block
Heinrich Schuchardt 1a07d39521 sandbox: fix return type of os_filesize()
Given a file ../img of size 4294967296 with GPT partition table and
partitions:

=> host bind 0 ../img
=> part list host 0
Disk host-0.blk not ready

The cause is os_filesize() returning int. File sizes must use off_t.

Correct all uses of os_filesize() too.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-28 11:30:17 -06:00
..
blk-uclass.c drivers/mtd/nvmxip: introduce NVM XIP block storage emulation 2023-04-27 17:01:14 -04:00
blk_legacy.c blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
blkcache.c dm: test: Clear the block cache after running a test 2022-11-07 16:24:30 -07:00
blkmap.c blk: blkmap: Add linear device mapping support 2023-04-05 10:54:47 -04:00
efi-media-uclass.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00
efi_blk.c blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
host-uclass.c dm: sandbox: Create a new HOST uclass 2022-11-07 16:24:30 -07:00
host_dev.c sandbox: fix return type of os_filesize() 2023-04-28 11:30:17 -06:00
ide.c ide: Make use of U-Boot types 2023-04-27 13:51:07 -04:00
Kconfig blk: blkmap: Add basic infrastructure 2023-04-05 10:54:47 -04:00
Makefile blk: blkmap: Add basic infrastructure 2023-04-05 10:54:47 -04:00
sandbox.c dm: sandbox: Switch over to using the new host uclass 2022-11-07 16:24:30 -07:00
sb_efi_media.c efi: Add uclass for devices provided by UEFI firmware 2021-12-09 11:43:25 -08:00