Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4879119ybv; Wed, 26 Feb 2020 04:39:13 -0800 (PST) X-Google-Smtp-Source: APXvYqzRRc7suUr2O47ky5SWpH439hw2pwvTbZSwoRKWRYrEfaobplKT4nxDTBZ7yzKGR1Th7WvY X-Received: by 2002:a05:6830:1e95:: with SMTP id n21mr2886984otr.25.1582720752984; Wed, 26 Feb 2020 04:39:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582720752; cv=none; d=google.com; s=arc-20160816; b=D2hFcOdNuZsyWVfdN+hzxfgYbYiqws4haoatofDj9v6koi5NCsHpwcNpZ9QtjQxG49 BTpX8lFcUQ3ZyjJMYvKlTIMnp9HwjghrCYSMQGEHpCVbei73YKukPkAPOe/5WwuOKA9r MsNOYeuexPPPbmmWiYgcLoCD6CS0/g/ftqCFfQV8fNcuNCmQMEkRXecfjOPVNGGJRfYi lC6M36xnm7otDRLByX6IoRFdJIeJ/pzZ+5mG2F1ixJH2+WUYQTeSBuMmAFatVXCLTmkU PcDbHqPysGRrjOezq5uv3AMD8OZz1xzOlpuAkDFQaHFpsxJU+kjF5APyttEUfaS772tw yWRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=reOCY/qNx6s8upwWvB3ZLldu456oHwLLseS4gPch/Pw=; b=C2MTN46SFmvuLKp2+fjhzEWsq2YH2JzoUmW+4EHsnHDxMzUz+00ROWJUlmBNP+qjCn tFpSWicCoCLjH+/NqG+nqgiaQ4T1Ez3mXfhF4xujjYhnQYEIrnHKiHZGGgwDJgov5lBg Oa8pugWIGq//myTfDsw3GX9nwjGnoNc4O7ci2p0emhJxB4zq9ioXvuG3tbfUo+HnxVtO uLINpNXfAHAfZXlw8/lDbeNWsWXep6ik3EPqLA0AYi+N7T2nk2LyiETMFjZmD1D+UjVp 84znKU+4TykOuptRxt4wBiUkKJtPfG0UM/J2D5ZHAov+Eq4PyU43cWW/mx1VyPXfYGmY 5Drg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si1065808oik.171.2020.02.26.04.38.59; Wed, 26 Feb 2020 04:39:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726747AbgBZMhn (ORCPT + 99 others); Wed, 26 Feb 2020 07:37:43 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:57738 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726277AbgBZMhn (ORCPT ); Wed, 26 Feb 2020 07:37:43 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1j6vwY-0006sw-TO; Wed, 26 Feb 2020 13:37:39 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 5674E1C201B; Wed, 26 Feb 2020 13:37:38 +0100 (CET) Date: Wed, 26 Feb 2020 12:37:38 -0000 From: "tip-bot2 for Anders Roxell" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/build] x86/Kconfig: Make CMDLINE_OVERRIDE depend on non-empty CMDLINE Cc: Anders Roxell , Borislav Petkov , x86 , LKML In-Reply-To: <20200124114615.11577-1-anders.roxell@linaro.org> References: <20200124114615.11577-1-anders.roxell@linaro.org> MIME-Version: 1.0 Message-ID: <158272065802.28353.14643125310636078839.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the x86/build branch of tip: Commit-ID: 645e64662af4dba9eb4a80bbab2663dd22018312 Gitweb: https://git.kernel.org/tip/645e64662af4dba9eb4a80bbab2663dd22018312 Author: Anders Roxell AuthorDate: Fri, 24 Jan 2020 12:46:15 +01:00 Committer: Borislav Petkov CommitterDate: Wed, 26 Feb 2020 13:31:46 +01:00 x86/Kconfig: Make CMDLINE_OVERRIDE depend on non-empty CMDLINE When trying to boot an allmodconfig kernel that is built with KCONFIG_ALLCONFIG=$(pwd)/arch/x86/configs/x86_64_defconfig, it doesn't boot since CONFIG_CMDLINE_OVERRIDE gets enabled and that requires the user to pass the full cmdline to CONFIG_CMDLINE. Change so that CONFIG_CMDLINE_OVERRIDE gets set only if CONFIG_CMDLINE is set to something except an empty string. [ bp: touchup. ] Signed-off-by: Anders Roxell Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20200124114615.11577-1-anders.roxell@linaro.org --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index beea770..b414192 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2418,7 +2418,7 @@ config CMDLINE config CMDLINE_OVERRIDE bool "Built-in command line overrides boot loader arguments" - depends on CMDLINE_BOOL + depends on CMDLINE_BOOL && CMDLINE != "" ---help--- Set this option to 'Y' to have the kernel ignore the boot loader command line, and use ONLY the built-in command line.