From: akpm@linux-foundation.org Subject: [merged] kbuild-fix-optimization-level-choice-default.patch removed from -mm tree Date: Fri, 13 Oct 2017 13:28:31 -0700 Message-ID: <20171013202831.OuUf7eqy7%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:54902 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752085AbdJMU2d (ORCPT ); Fri, 13 Oct 2017 16:28:33 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: arnd@arndb.de, daniel@zonque.org, keescook@chromium.org, mm-commits@vger.kernel.org, nicolas.pitre@linaro.org, paulmck@linux.vnet.ibm.com, tglx@linutronix.de, tj@kernel.org, ulfalizer@gmail.com The patch titled Subject: kbuild: fix optimization level choice default has been removed from the -mm tree. Its filename was kbuild-fix-optimization-level-choice-default.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Ulf Magnusson Subject: kbuild: fix optimization level choice default The choice containing the CC_OPTIMIZE_FOR_PERFORMANCE symbol accidentally added a "CONFIG_" prefix when trying to make it the default, selecting an undefined symbol as the default. The mistake is harmless here: Since the default symbol is not visible, the choice falls back on using the visible symbol as the default instead, which is CC_OPTIMIZE_FOR_PERFORMANCE, as intended. A patch that makes Kconfig print a warning in this case has been submitted separately: http://www.spinics.net/lists/linux-kbuild/msg15566.html Link: http://lkml.kernel.org/r/1507074806-21577-1-git-send-email-ulfalizer@gmail.com Signed-off-by: Ulf Magnusson Acked-by: Arnd Bergmann Cc: Paul E . McKenney Cc: Nicolas Pitre Cc: Tejun Heo Cc: Thomas Gleixner Cc: Kees Cook Cc: Daniel Mack Signed-off-by: Andrew Morton --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN init/Kconfig~kbuild-fix-optimization-level-choice-default init/Kconfig --- a/init/Kconfig~kbuild-fix-optimization-level-choice-default +++ a/init/Kconfig @@ -1033,7 +1033,7 @@ endif choice prompt "Compiler optimization level" - default CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE + default CC_OPTIMIZE_FOR_PERFORMANCE config CC_OPTIMIZE_FOR_PERFORMANCE bool "Optimize for performance" _ Patches currently in -mm which might be from ulfalizer@gmail.com are