From: Hidetoshi Seto Date: Wed, 29 Jul 2009 22:02:08 +0000 (-0700) Subject: kexec: fix omitting offset in extended crashkernel syntax X-Git-Tag: v2.6.31-rc5~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11c7da4b0ca76a57f51c996c883c480e203cf5a9;p=pandora-kernel.git kexec: fix omitting offset in extended crashkernel syntax Setting "crashkernel=512M-2G:64M,2G-:128M" does not work but it turns to work if it has a trailing-whitespace, like "crashkernel=512M-2G:64M,2G-:128M ". It was because of a bug in the parser, running over the cmdline. This patch adds a check of the termination. Reported-by: Jin Dongming Signed-off-by: Hidetoshi Seto Tested-by: Jin Dongming Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed