diff for duplicates of <20090827031930.4534.92513.sendpatchset@localhost.localdomain> diff --git a/a/1.txt b/N1/1.txt index 3169d21..c06b294 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -17,7 +17,8 @@ Signed-off-by: WANG Cong <amwang@redhat.com> --- Index: linux-2.6/include/linux/kexec.h -=================================--- linux-2.6.orig/include/linux/kexec.h +=================================================================== +--- linux-2.6.orig/include/linux/kexec.h +++ linux-2.6/include/linux/kexec.h @@ -206,6 +206,8 @@ extern size_t vmcoreinfo_max_size; @@ -29,7 +30,8 @@ Index: linux-2.6/include/linux/kexec.h #else /* !CONFIG_KEXEC */ struct pt_regs; Index: linux-2.6/kernel/kexec.c -=================================--- linux-2.6.orig/kernel/kexec.c +=================================================================== +--- linux-2.6.orig/kernel/kexec.c +++ linux-2.6/kernel/kexec.c @@ -31,6 +31,7 @@ #include <linux/cpu.h> @@ -80,7 +82,7 @@ Index: linux-2.6/kernel/kexec.c + + if (new_size >= end - start + 1) { + ret = -EINVAL; -+ if (new_size = end - start + 1) ++ if (new_size == end - start + 1) + ret = 0; + goto unlock; + } @@ -90,7 +92,7 @@ Index: linux-2.6/kernel/kexec.c + + free_reserved_phys_range(end, crashk_res.end); + -+ if (start = end) { ++ if (start == end) { + crashk_res.end = end; + release_resource(&crashk_res); + } else @@ -105,7 +107,8 @@ Index: linux-2.6/kernel/kexec.c size_t data_len) { Index: linux-2.6/kernel/ksysfs.c -=================================--- linux-2.6.orig/kernel/ksysfs.c +=================================================================== +--- linux-2.6.orig/kernel/ksysfs.c +++ linux-2.6/kernel/ksysfs.c @@ -100,6 +100,26 @@ static ssize_t kexec_crash_loaded_show(s } diff --git a/a/content_digest b/N1/content_digest index dbf6e77..c3322e0 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020090827031800.4534.94868.sendpatchset@localhost.localdomain\0" "From\0Amerigo Wang <amwang@redhat.com>\0" "Subject\0[Patch 8/8] kexec: allow to shrink reserved memory\0" - "Date\0Thu, 27 Aug 2009 03:17:03 +0000\0" + "Date\0Wed, 26 Aug 2009 23:17:03 -0400\0" "To\0linux-kernel@vger.kernel.org\0" "Cc\0tony.luck@intel.com" linux-ia64@vger.kernel.org @@ -38,7 +38,8 @@ "---\n" "\n" "Index: linux-2.6/include/linux/kexec.h\n" - "=================================--- linux-2.6.orig/include/linux/kexec.h\n" + "===================================================================\n" + "--- linux-2.6.orig/include/linux/kexec.h\n" "+++ linux-2.6/include/linux/kexec.h\n" "@@ -206,6 +206,8 @@ extern size_t vmcoreinfo_max_size;\n" " \n" @@ -50,7 +51,8 @@ " #else /* !CONFIG_KEXEC */\n" " struct pt_regs;\n" "Index: linux-2.6/kernel/kexec.c\n" - "=================================--- linux-2.6.orig/kernel/kexec.c\n" + "===================================================================\n" + "--- linux-2.6.orig/kernel/kexec.c\n" "+++ linux-2.6/kernel/kexec.c\n" "@@ -31,6 +31,7 @@\n" " #include <linux/cpu.h>\n" @@ -101,7 +103,7 @@ "+\n" "+\tif (new_size >= end - start + 1) {\n" "+\t\tret = -EINVAL;\n" - "+\t\tif (new_size = end - start + 1)\n" + "+\t\tif (new_size == end - start + 1)\n" "+\t\t\tret = 0;\n" "+\t\tgoto unlock;\n" "+\t}\n" @@ -111,7 +113,7 @@ "+\n" "+\tfree_reserved_phys_range(end, crashk_res.end);\n" "+\n" - "+\tif (start = end) {\n" + "+\tif (start == end) {\n" "+\t\tcrashk_res.end = end;\n" "+\t\trelease_resource(&crashk_res);\n" "+\t} else\n" @@ -126,7 +128,8 @@ " \t\t\t size_t data_len)\n" " {\n" "Index: linux-2.6/kernel/ksysfs.c\n" - "=================================--- linux-2.6.orig/kernel/ksysfs.c\n" + "===================================================================\n" + "--- linux-2.6.orig/kernel/ksysfs.c\n" "+++ linux-2.6/kernel/ksysfs.c\n" "@@ -100,6 +100,26 @@ static ssize_t kexec_crash_loaded_show(s\n" " }\n" @@ -164,4 +167,4 @@ " #endif\n" " \tNULL" -2aa94bff4ab8c5fb04b005b5f7ca045139064da5dfb836a66a1f9a5c0d28513b +165d46be106cd602fb1ace84d399c70d60d05d3164a6e154260aea293de2f642
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.