Subject: + block-support-embedded-device-command-line-partition-fix.patch added to -mm tree To: yongjun_wei@xxxxxxxxxxxxxxxxx,caizhiyong@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Fri, 23 Aug 2013 15:36:18 -0700 The patch titled Subject: block: fix error return code in parse_parts() has been added to the -mm tree. Its filename is block-support-embedded-device-command-line-partition-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/block-support-embedded-device-command-line-partition-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/block-support-embedded-device-command-line-partition-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> 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. Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Cc: Cai Zhiyong <caizhiyong@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- block/cmdline-parser.c | 1 + 1 file changed, 1 insertion(+) diff -puN block/cmdline-parser.c~block-support-embedded-device-command-line-partition-fix block/cmdline-parser.c --- a/block/cmdline-parser.c~block-support-embedded-device-command-line-partition-fix +++ a/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 yongjun_wei@xxxxxxxxxxxxxxxxx are origin.patch block-support-embedded-device-command-line-partition-fix.patch mm-memory-hotplug-enable-memory-hotplug-to-handle-hugepage-fix.patch linux-next.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