[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] kexec: suppress bogus warning
Don't emit the "ignored" warning when there's no placement specification and the tail of the specified option is actually empty. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -173,7 +173,7 @@ static int __init parse_crashkernel(cons kexec_crash_area_limit = parse_size_and_unit(cur = str + 1, &str); else if ( !strncmp(str, ",below=", 7) ) kexec_crash_area_limit = parse_size_and_unit(cur = str + 7, &str); - else + else if ( *str ) { printk(XENLOG_WARNING "crashkernel: '%s' ignored\n", str); rc = -EINVAL; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |