[PATCH] kexec -p fails on kernel versions of form x.y

Simon Horman horms at verge.net.au
Thu Jul 25 22:37:34 EDT 2013

On Thu, Jul 25, 2013 at 04:21:09PM -0600, Khalid Aziz wrote:
> "kexec -p" fails to load kernels with version of the form x.y instead of
> x.y.z with an error message similar to "Unsupported utsname.release:
> 3.10-1-amd64". Code in kernel_version() also checks the wrong variable
> name for error return value from strtoul() for "minor" and "patch", and
> hence possibly missing a real error.
> These changes fix both of these problems.
> Signed-off-by: Khalid Aziz <khalid at gonehiking.org>

Thanks, applied.

More information about the kexec mailing list