Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752494Ab3FJNfc (ORCPT ); Mon, 10 Jun 2013 09:35:32 -0400 Received: from mail-ve0-f172.google.com ([209.85.128.172]:52401 "EHLO mail-ve0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752172Ab3FJNfb (ORCPT ); Mon, 10 Jun 2013 09:35:31 -0400 MIME-Version: 1.0 In-Reply-To: <1370624161-2298-2-git-send-email-holzheu@linux.vnet.ibm.com> References: <1370624161-2298-1-git-send-email-holzheu@linux.vnet.ibm.com> <1370624161-2298-2-git-send-email-holzheu@linux.vnet.ibm.com> Date: Mon, 10 Jun 2013 22:35:30 +0900 Message-ID: Subject: Re: [PATCH v5 1/5] vmcore: Introduce ELF header in new memory feature From: HATAYAMA Daisuke To: Michael Holzheu Cc: Vivek Goyal , Jan Willeke , Martin Schwidefsky , Heiko Carstens , linux-kernel@vger.kernel.org, kexec@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 947 Lines: 28 2013/6/8 Michael Holzheu : > @@ -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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/