- mm-sparsec-improve-the-error-handling-for-sparse_add_one_section-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     sparsemem: fix sparse_index_init return check
has been removed from the -mm tree.  Its filename was
     mm-sparsec-improve-the-error-handling-for-sparse_add_one_section-fix.patch

This patch was dropped because it was folded into mm-sparsec-improve-the-error-handling-for-sparse_add_one_section.patch

------------------------------------------------------
Subject: sparsemem: fix sparse_index_init return check
From: Geoff Levand <geoffrey.levand@xxxxxxxxxxx>

sparse_index_init() returns -EEXIST to indicate the index has already been
created.  Exclude this from the error check on the return value.

Signed-off-by: Geoff Levand <geoffrey.levand@xxxxxxxxxxx>
Cc: Christoph Lameter <clameter@xxxxxxx>
Cc: Dave Hansen <haveblue@xxxxxxxxxx>
Cc: Rik van Riel <riel@xxxxxxxxxx>
Cc: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>
Cc: Andy Whitcroft <apw@xxxxxxxxxxxx>
Cc: WANG Cong <xiyou.wangcong@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/sparse.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/sparse.c~mm-sparsec-improve-the-error-handling-for-sparse_add_one_section-fix mm/sparse.c
--- a/mm/sparse.c~mm-sparsec-improve-the-error-handling-for-sparse_add_one_section-fix
+++ a/mm/sparse.c
@@ -384,7 +384,7 @@ int sparse_add_one_section(struct zone *
 	 * plus, it does a kmalloc
 	 */
 	ret = sparse_index_init(section_nr, pgdat->node_id);
-	if (ret < 0)
+	if (ret < 0 && ret != -EEXIST)
 		return ret;
 	memmap = kmalloc_section_memmap(section_nr, pgdat->node_id, nr_pages);
 	if (!memmap)
_

Patches currently in -mm which might be from geoffrey.levand@xxxxxxxxxxx are

sparsemem-make-sparsemem_vmemmap-selectable.patch
mm-sparsec-improve-the-error-handling-for-sparse_add_one_section.patch
mm-sparsec-improve-the-error-handling-for-sparse_add_one_section-fix.patch
git-powerpc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux