Skip to contentSkip to conversation

block-support-embedded-device-command-line-partition-fix.patch removed from -mm tree

folded-merged [email protected] 1 participant 1 message Sep 11, 2013 Block layer

lore
Share & tools
lore
#0 lore raw

Subject: [folded-merged] block-support-embedded-device-command-line-partition-fix.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 11 Sep 2013 13:51:21 -0700

The patch titled
Subject: block: fix error return code in parse_parts()
has been removed from the -mm tree. Its filename was
block-support-embedded-device-command-line-partition-fix.patch

This patch was dropped because it was folded into block-support-embedded-device-command-line-partition.patch

------------------------------------------------------
From: Wei Yongjun <[email protected]>
Subject: block: fix error return code in parse_parts()

Fix to return -EINVAL in the parts parse error handling case instead of 0(may overwrite to 0 by parse_subpart()), as done elsewhere in this function.

---

 block/cmdline-parser.c |    1 +
 1 file changed, 1 insertion(+)
block/cmdline-parser.c renamed from block/cmdline-parser.c~block-support-embedded-device-command-line-partition-fix +1 -0
diff -puN block/cmdline-parser.c~block-support-embedded-device-command-line-partition-fix block/cmdline-parser.c
@@ -135,6 +135,7 @@ static int parse_parts(struct cmdline_pa
 
 	if (!newparts->subpart) {
 		pr_warn("cmdline partition has no valid partition.");
+		ret = -EINVAL;
 		goto fail;
 	}
 

_

Patches currently in -mm which might be from [email protected] are

origin.patch block-support-embedded-device-command-line-partition.patch mm-memory-hotplug-enable-memory-hotplug-to-handle-hugepage-fix.patch