[U-Boot] [PATCH] Fix ext2/ext4 filesystem accesses beyond 2TiB

Sascha Silbe t-uboot at infra-silbe.de
Tue Jun 25 22:42:10 CEST 2013


Frederic Leroy <fredo at starox.org> writes:

[...]
>  disk/part_efi.c        |  4 ++--

While testing the CuBox patches using buildman, I noticed a warning in
disk/part_iso.c. The following patch should fix it:

diff --git a/disk/part_iso.c b/disk/part_iso.c
index cc323b0..e15e1b9 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -249,7 +249,7 @@ void print_part_iso(block_dev_desc_t * dev_desc)
        printf("Part   Start     Sect x Size Type\n");
        i=0;
        do {
-               printf (" %2d %8ld %8ld %6ld %.32s\n",
+               printf (" %2d " LBAFu " " LBAFu " %6ld %.32s\n",
                        i, info.start, info.size, info.blksz, info.type);
                i++;
        } while (get_partition_info_iso_verb(dev_desc,i,&info,0)!=-1);


Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130625/3c1175f2/attachment.pgp>


More information about the U-Boot mailing list