[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABOkKT33diYR+7Nt9HdRxxqnb1KGkUz8YLTjGODsv2s5vj+3og@mail.gmail.com>
Date: Mon, 10 Jun 2013 22:35:30 +0900
From: HATAYAMA Daisuke <d.hatayama@...il.com>
To: Michael Holzheu <holzheu@...ux.vnet.ibm.com>
Cc: Vivek Goyal <vgoyal@...hat.com>, Jan Willeke <willeke@...ibm.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>,
Heiko Carstens <heiko.carstens@...ibm.com>,
linux-kernel@...r.kernel.org, kexec@...ts.infradead.org
Subject: Re: [PATCH v5 1/5] vmcore: Introduce ELF header in new memory feature
2013/6/8 Michael Holzheu <holzheu@...ux.vnet.ibm.com>:
<cut>
> @@ -935,10 +967,17 @@ static int __init vmcore_init(void)
> {
> int rc = 0;
>
> - /* If elfcorehdr= has been passed in cmdline, then capture the dump.*/
> - if (!(is_vmcore_usable()))
> - return rc;
> + /*
> + * If elfcorehdr= has not been passed in cmdline, try to get the
> + * header from 2nd kernel, then capture the dump.
> + */
> + if (!(is_vmcore_usable())) {
> + rc = elfcorehdr_alloc();
> + if (rc)
> + return rc;
> + }
Here you removed comment in the 1st path. Please keep it.
Thanks.
HATAYAMA, Daisuke
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists