From e368e737399955640df15790443aaeec1c5bb19b Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Wed, 23 Dec 2009 18:59:03 +0300 Subject: [PATCH] b=21669 cast the le64 to %llu in all ext*mmp patches 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 | 4 ++-- ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch | 4 ++-- ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-rhel4.patch b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-rhel4.patch index 6a5d68a..e7b8329 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-rhel4.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-rhel4.patch @@ -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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch index f441b91..916a768 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch @@ -95,8 +95,8 @@ Index: linux-2.6.16.60-0.37/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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch index c5875a6..732789b 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.18-vanilla.patch @@ -95,8 +95,8 @@ Index: linux-2.6.18-128.1.6/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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch index b6df0f2..527b928 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6.22-vanilla.patch @@ -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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch b/ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch index 812d9a9..2eb286c 100644 --- a/ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch +++ b/ldiskfs/kernel_patches/patches/ext4-mmp-rhel5.patch @@ -95,8 +95,8 @@ Index: linux-2.6.18-128.1.6/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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch b/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch index 0223f7e..b91d1430 100644 --- a/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch +++ b/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch @@ -101,8 +101,8 @@ Index: linux-2.6.27.21-0.1/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); +} + +/* -- 1.8.3.1