diff for duplicates of <52935762.1080409@ti.com> diff --git a/a/1.txt b/N1/1.txt index 2604d1d..185b9a7 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -9,38 +9,3 @@ On Sunday 24 November 2013 10:14 AM, Sergei Shtylyov wrote: > Damn.. Posted a wrong version of the patch ;-( Here is the one with warning message included. - ->From 571dfdf4cf8ac7dfd50bd9b7519717c42824f1c3 Mon Sep 17 00:00:00 2001 -From: Santosh Shilimkar <santosh.shilimkar@ti.com> -Date: Sat, 23 Nov 2013 18:16:50 -0500 -Subject: [PATCH] mm: nobootmem: avoid type warning about alignment value - -Building ARM with NO_BOOTMEM generates below warning. - -mm/nobootmem.c: In function ?__free_pages_memory?: -mm/nobootmem.c:88:11: warning: comparison of distinct pointer types lacks a cast - -Using min_t to find the correct alignment avoids the warning. - -Cc: Tejun Heo <tj@kernel.org> -Cc: Andrew Morton <akpm@linux-foundation.org> -Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> ---- - mm/nobootmem.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mm/nobootmem.c b/mm/nobootmem.c -index 2c254d3..8954e43 100644 ---- a/mm/nobootmem.c -+++ b/mm/nobootmem.c -@@ -85,7 +85,7 @@ static void __init __free_pages_memory(unsigned long start, unsigned long end) - int order; - - while (start < end) { -- order = min(MAX_ORDER - 1UL, __ffs(start)); -+ order = min_t(size_t, MAX_ORDER - 1UL, __ffs(start)); - - while (start + (1UL << order) > end) - order--; --- -1.7.9.5 diff --git a/a/content_digest b/N1/content_digest index c420322..4d805cd 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,9 +1,14 @@ "ref\01385249326-9089-1-git-send-email-santosh.shilimkar@ti.com\0" "ref\0529217C7.6030304@cogentembedded.com\0" - "From\0santosh.shilimkar@ti.com (Santosh Shilimkar)\0" - "Subject\0[PATCH] mm: nobootmem: avoid type warning about alignment value\0" + "From\0Santosh Shilimkar <santosh.shilimkar@ti.com>\0" + "Subject\0Re: [PATCH] mm: nobootmem: avoid type warning about alignment value\0" "Date\0Mon, 25 Nov 2013 08:57:54 -0500\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" + "Cc\0linux-kernel@vger.kernel.org" + Tejun Heo <tj@kernel.org> + linux-mm@kvack.org + Andrew Morton <akpm@linux-foundation.org> + " linux-arm-kernel@lists.infradead.org\0" "\00:1\0" "b\0" "On Sunday 24 November 2013 10:14 AM, Sergei Shtylyov wrote:\n" @@ -16,41 +21,6 @@ "> Where is that below? :-)\n" "> \n" "Damn.. Posted a wrong version of the patch ;-(\n" - "Here is the one with warning message included.\n" - "\n" - ">From 571dfdf4cf8ac7dfd50bd9b7519717c42824f1c3 Mon Sep 17 00:00:00 2001\n" - "From: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "Date: Sat, 23 Nov 2013 18:16:50 -0500\n" - "Subject: [PATCH] mm: nobootmem: avoid type warning about alignment value\n" - "\n" - "Building ARM with NO_BOOTMEM generates below warning.\n" - "\n" - "mm/nobootmem.c: In function ?__free_pages_memory?:\n" - "mm/nobootmem.c:88:11: warning: comparison of distinct pointer types lacks a cast\n" - "\n" - "Using min_t to find the correct alignment avoids the warning.\n" - "\n" - "Cc: Tejun Heo <tj@kernel.org>\n" - "Cc: Andrew Morton <akpm@linux-foundation.org>\n" - "Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "---\n" - " mm/nobootmem.c | 2 +-\n" - " 1 file changed, 1 insertion(+), 1 deletion(-)\n" - "\n" - "diff --git a/mm/nobootmem.c b/mm/nobootmem.c\n" - "index 2c254d3..8954e43 100644\n" - "--- a/mm/nobootmem.c\n" - "+++ b/mm/nobootmem.c\n" - "@@ -85,7 +85,7 @@ static void __init __free_pages_memory(unsigned long start, unsigned long end)\n" - " \tint order;\n" - " \n" - " \twhile (start < end) {\n" - "-\t\torder = min(MAX_ORDER - 1UL, __ffs(start));\n" - "+\t\torder = min_t(size_t, MAX_ORDER - 1UL, __ffs(start));\n" - " \n" - " \t\twhile (start + (1UL << order) > end)\n" - " \t\t\torder--;\n" - "-- \n" - 1.7.9.5 + Here is the one with warning message included. -f9efe858657146055167d559013f1a4aa34cb6ccbb921ca67d9f29fb59177bc7 +74481f12541612dfb91de98b3da3e75e305c4e0f594b06458a031bed6158fcb9
diff --git a/a/1.txt b/N2/1.txt index 2604d1d..88797d4 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -17,7 +17,7 @@ Subject: [PATCH] mm: nobootmem: avoid type warning about alignment value Building ARM with NO_BOOTMEM generates below warning. -mm/nobootmem.c: In function ?__free_pages_memory?: +mm/nobootmem.c: In function ‘__free_pages_memory’: mm/nobootmem.c:88:11: warning: comparison of distinct pointer types lacks a cast Using min_t to find the correct alignment avoids the warning. diff --git a/a/content_digest b/N2/content_digest index c420322..27fd694 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,9 +1,14 @@ "ref\01385249326-9089-1-git-send-email-santosh.shilimkar@ti.com\0" "ref\0529217C7.6030304@cogentembedded.com\0" - "From\0santosh.shilimkar@ti.com (Santosh Shilimkar)\0" - "Subject\0[PATCH] mm: nobootmem: avoid type warning about alignment value\0" + "From\0Santosh Shilimkar <santosh.shilimkar@ti.com>\0" + "Subject\0Re: [PATCH] mm: nobootmem: avoid type warning about alignment value\0" "Date\0Mon, 25 Nov 2013 08:57:54 -0500\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" + "Cc\0<linux-kernel@vger.kernel.org>" + Tejun Heo <tj@kernel.org> + <linux-mm@kvack.org> + Andrew Morton <akpm@linux-foundation.org> + " <linux-arm-kernel@lists.infradead.org>\0" "\00:1\0" "b\0" "On Sunday 24 November 2013 10:14 AM, Sergei Shtylyov wrote:\n" @@ -25,7 +30,7 @@ "\n" "Building ARM with NO_BOOTMEM generates below warning.\n" "\n" - "mm/nobootmem.c: In function ?__free_pages_memory?:\n" + "mm/nobootmem.c: In function \342\200\230__free_pages_memory\342\200\231:\n" "mm/nobootmem.c:88:11: warning: comparison of distinct pointer types lacks a cast\n" "\n" "Using min_t to find the correct alignment avoids the warning.\n" @@ -53,4 +58,4 @@ "-- \n" 1.7.9.5 -f9efe858657146055167d559013f1a4aa34cb6ccbb921ca67d9f29fb59177bc7 +fc316232fe8fef2efc627687588eb13a801b6a06bcf3a8eaac6fdeadebe41908
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.