Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbbGSOXa (ORCPT ); Sun, 19 Jul 2015 10:23:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54058 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238AbbGSOX3 (ORCPT ); Sun, 19 Jul 2015 10:23:29 -0400 Date: Sun, 19 Jul 2015 22:23:25 +0800 From: Baoquan He To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, akpm@linux-foundation.org, jkosina@suse.cz, vgoyal@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Do not reserve crashkernel high memory if crashkernel low memory reserving failed Message-ID: <20150719142325.GA9968@dhcp-17-102.nay.redhat.com> References: <1437304064-9916-1-git-send-email-bhe@redhat.com> <20150719134003.GC27557@nazgul.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150719134003.GC27557@nazgul.tnic> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 626 Lines: 23 On 07/19/15 at 03:40pm, Borislav Petkov wrote: > ... > > > @@ -552,7 +552,7 @@ static void __init reserve_crashkernel_low(void) > > if (!auto_set) > > pr_info("crashkernel low reservation failed - No suitable area found.\n"); > > > > - return; > > + return EINVAL; > > Error values are negative: > > return -EINVAL; Yes, will repost. Thanks a lot. Thanks Baoquan -- 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/