Whamcloud - gitweb
b=21669 cast the le64 to %llu in all ext*mmp patches
authorAndrew Perepechko <andrew.perepechko@sun.com>
Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)
committerRobert Read <rread@sun.com>
Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)
i=Andreas Dilger
i=Andrew Perepechko

a bunch of fixes for extN_warnings in ldiskfs to avoid compilation warnings

ldiskfs/kernel_patches/patches/ext3-mmp-2.6-rhel4.patch
ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch
ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch
ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch
ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch
ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch

index 6a5d68a..e7b8329 100644 (file)
@@ -95,8 +95,8 @@ Index: linux-2.6.9-67.0.22/fs/ext3/super.c
 +      ext3_warning(sb, function, msg);
 +      ext3_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*
index 8beb217..c5c50ff 100644 (file)
@@ -140,8 +140,8 @@ Index: linux-stage/fs/ext3/super.c
 +      ext3_warning(sb, function, msg);
 +      ext3_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*
index 84ececf..2f0654c 100644 (file)
@@ -140,8 +140,8 @@ Index: linux-stage/fs/ext3/super.c
 +      ext3_warning(sb, function, msg);
 +      ext3_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*
index b6df0f2..527b928 100644 (file)
@@ -95,8 +95,8 @@ Index: linux-2.6.22.14/fs/ext3/super.c
 +      ext3_warning(sb, function, msg);
 +      ext3_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*
index 94c8c1c..22da428 100644 (file)
@@ -95,8 +95,8 @@ Index: linux-stage/fs/ext4/super.c
 +      ext4_warning(sb, function, msg);
 +      ext4_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*
index b6ead02..37923b2 100644 (file)
@@ -101,8 +101,8 @@ Index: linux-stage/fs/ext4/super.c
 +      ext4_warning(sb, function, msg);
 +      ext4_warning(sb, function, "MMP failure info: last update time: %llu, "
 +                   "last update node: %s, last update device: %s\n",
-+                   le64_to_cpu(mmp->mmp_time), mmp->mmp_nodename,
-+                   mmp->mmp_bdevname);
++                   (long long unsigned int)le64_to_cpu(mmp->mmp_time),
++                   mmp->mmp_nodename, mmp->mmp_bdevname);
 +}
 +
 +/*