From 4774772ff12ad17b16cddaa5d21e0789effac730 Mon Sep 17 00:00:00 2001 From: Andrew Perepechko Date: Tue, 9 Mar 2010 11:26:11 -0800 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 8beb217..c5c50ff 100644 --- a/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch +++ b/ldiskfs/kernel_patches/patches/ext3-mmp-2.6-sles10.patch @@ -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); +} + +/* 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 84ececf..2f0654c 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 @@ -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); +} + +/* 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 94c8c1c..22da428 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-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); +} + +/* diff --git a/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch b/ldiskfs/kernel_patches/patches/ext4-mmp-sles11.patch index b6ead02..37923b2 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-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); +} + +/* -- 1.8.3.1