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

login
register
mail settings
Submitter Sascha Silbe
Date June 25, 2013, 8:42 p.m.
Message ID <toeehbpj525.fsf@twin.sascha.silbe.org>
Download mbox | patch
Permalink /patch/254370/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Sascha Silbe - June 25, 2013, 8:42 p.m.
Frederic Leroy <fredo@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:



Sascha

Patch

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);