From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756937AbcH2VuP (ORCPT ); Mon, 29 Aug 2016 17:50:15 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52604 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756157AbcH2VuO (ORCPT ); Mon, 29 Aug 2016 17:50:14 -0400 From: Arnd Bergmann To: Andrew Morton Cc: kernel-build-reports@lists.linaro.org, linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH 1/3] kconfig: tinyconfig: provide whole choice blocks to avoid warnings Date: Mon, 29 Aug 2016 23:49:50 +0200 Message-Id: <20160829214952.1334674-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160829214952.1334674-1-arnd@arndb.de> References: <20160829214952.1334674-1-arnd@arndb.de> X-Provags-ID: V03:K0:5kl0elsuNEaoFWmHJ7/JMnPm6C80Grgc7jR3BzLWLVqvU/1ThgK aJuQrGSOas0vIDS8lPOau5uySdIK8T1jDdIuCj0XsttVDOiz27K0X/T5cQc8ZK/FzwZw6G8 7T7z9UmDaf/1c0K5eedSZNmN8a8WTX3Jf2X9czBg/YoTYCizTT9bGUSU2owfvbofF5KkK8x 7FQdRTtXPxXB1m/r7Y+fw== X-UI-Out-Filterresults: notjunk:1;V01:K0:puxJGtCrKGE=:EKbha9CvtZg+sP/3UIUUZC smVxIX/d2blrmejXqcZ5FQYhL+6V3rT2/yARcbhjBxJNfyGihO0H7J/BzIi2p+sKJSDiefImZ jJqn3FjW9rh5amfAgkidHlUDFAhYJYy7p5A1wLedQqxB3DzVuJNYJa4DjlHajuR5YL8JYzub5 S7cc7JQMAM/XSe63fPirWl2fZgL/JRsRav4F2pGUyD9/k+bws0CCFTbRuA9kD0SqCziYJnqYR RI7LH03B7I3cpMwAKbMV1QVmIdgfZV34O3RoNlkb+BbuhiHqiO1eDspwMaYpz5w1vWlUSvH7U /OdsilHMBdFPBm4lFOGaPMyB984eWRVLxQiSi2GTPe8q8SFwU/oBRcHROH7WmZFJY+qHP/NZR ucxQerR3RGhJwWweaAyKLkJmlOsRsuAkg6hpekGoLPr7hYyBVoegAYrscqpdXRJhVDpEeQDLB EcfLDFGlCc69njI2iSVC5AV9RWgr0CA9UCqZqMnxlgJLBbOvQ7ckoYQeE5XXZXNL9OgG0lDXM oG0dUyim9GWMavHYOYF4AZAw/feb97h7IfS2s4bPWJpGxbz10I3jbVwo4Tx4vbocf8fRutLhD pu7oNDZ/2XfhqSFwPPZb42Aa5SecmSGtomDqwQI6SVEf//gO8DMRPSzqjWLUHp6wNWrwt7Il/ vV3qBo/vhvxjYR8QXKLGKvPTt5/1Lb61EV0a5qLGFSRbNZDmB7NIC5ZCx60yXpEGbv98= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Using "make tinyconfig" produces a couple of annoying warnings that show up for build test machines all the time: .config:966:warning: override: NOHIGHMEM changes choice state .config:965:warning: override: SLOB changes choice state .config:963:warning: override: KERNEL_XZ changes choice state .config:962:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state .config:933:warning: override: SLOB changes choice state .config:930:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state .config:870:warning: override: SLOB changes choice state .config:868:warning: override: KERNEL_XZ changes choice state .config:867:warning: override: CC_OPTIMIZE_FOR_SIZE changes choice state I've made a previous attempt at fixing them and we discussed a number of alternatives. I tried changing the Makefile to use "merge_config.sh -n $(fragment-list)" but couldn't get that to work properly. This is yet another approach, based on the observation that we do want to see a warning for conflicting 'choice' options, and that we can simply make them non-conflicting by listing all other options as disabled. This is a trivial patch that we can apply independent of plans for other changes. Signed-off-by: Arnd Bergmann Link: https://storage.kernelci.org/mainline/v4.7-rc6/x86-tinyconfig/build.log https://patchwork.kernel.org/patch/9212749/ Reviewed-by: Josh Triplett Reviewed-by: Masahiro Yamada Acked-by: Ingo Molnar --- This version incorporates feedback from Masahiro Yamada, and includes the x86 change that Josh mentioned --- arch/x86/configs/tiny.config | 2 ++ kernel/configs/tiny.config | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config index 4e2ecfa23c15..4b429df40d7a 100644 --- a/arch/x86/configs/tiny.config +++ b/arch/x86/configs/tiny.config @@ -1 +1,3 @@ CONFIG_NOHIGHMEM=y +# CONFIG_HIGHMEM4G is not set +# CONFIG_HIGHMEM64G is not set diff --git a/kernel/configs/tiny.config b/kernel/configs/tiny.config index c2de56ab0fce..7fa0c4ae6394 100644 --- a/kernel/configs/tiny.config +++ b/kernel/configs/tiny.config @@ -1,4 +1,12 @@ +# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_KERNEL_GZIP is not set +# CONFIG_KERNEL_BZIP2 is not set +# CONFIG_KERNEL_LZMA is not set CONFIG_KERNEL_XZ=y +# CONFIG_KERNEL_LZO is not set +# CONFIG_KERNEL_LZ4 is not set CONFIG_OPTIMIZE_INLINING=y +# CONFIG_SLAB is not set +# CONFIG_SLUB is not set CONFIG_SLOB=y -- 2.9.0