From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F11D7361DB8 for ; Tue, 17 Mar 2026 09:30:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773739823; cv=none; b=Pc7X2aw0eEDg91PzQYlQt5NFBmeNZs6kd9N3RwP+YZHSguOEtRjZqOUX6cqZsZmh6dhEZTV5mrL37v77LppuF1w/Hj9DiITOJdSHcd8htpFBN943Mk3UMEw4FPuKjIbEbpQb3mTUPKdAtUVgHBedMjacihUSM8egO8ZwFr1zFo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773739823; c=relaxed/simple; bh=n9yV0EKW0ePeyskDVcCg/LnzxUaGeegIs/HWjeZnKec=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hGtjJGGKvqUgg2oo3l5j+isX+bc/RpT194gh8A/sKfQX73p0E0U6MlYui5nIXREfLwpOMZIEy4XmVt+W7Effz/a0HRjQEXlecP7RB1kchYdZN9RvPkweq4Q89CGRwwjyl52zWQlLUcajPRXzsnnXU39d1nkWSbH9nUFUR0jqP24= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IW4rO2Pk; arc=none smtp.client-ip=209.85.167.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IW4rO2Pk" Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-5a126c8aab9so7540586e87.0 for ; Tue, 17 Mar 2026 02:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773739818; x=1774344618; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=x1Y0fq+nOdX5B9Zlv9rWb/FlWGr7tCSJEoVxQK36Zz4=; b=IW4rO2PkNtgphTIcWlL8DIP6D3aL7IKTyxWbQas2ydbJrfk0aiB9VU9w++L0i5DDex pZkOdYH9HpAHjOWiy6me+EDVYIJynnXCOyx9DvcWvJtOArvI2w1oOopeGlqCKbX5M1WV 9Ehn/DfClD19/xyAgS4xTUPxULD4czvm3eGsDorAejH4P0McO9tElTn7ezp2MFkhcMal AruVwCkrGQTuSbyKgP5Z3qmlONEDVqCaHUYN6VVPNJmhmN0gAObTB9HhxeqdZfkZhpIF dnj3Y8oOXYsx5+vzjczOQYDWImffQqL4155OkwsR7mDDOpJIoS40b4gEUPQHZp+atrUm +6Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773739818; x=1774344618; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x1Y0fq+nOdX5B9Zlv9rWb/FlWGr7tCSJEoVxQK36Zz4=; b=pTzQbs0c+eHHfskkOEfxH0HDEEPLuJtutTeoE+pvbGAIk2z7ECEAXUinxcKCptJLfh T7V9XbCYxPQQIBy9TfP75cXdPN8Adp5xKtUOwOZ4nCcCWAAE6bEk6YOeM0fnJ7XrBVwc +NNpK2Y552iicfMYuHI1ZapA9aTRBUVQVu6m+j8V2Xm6mCkqRhKpzXVSvUPeUUEFcowu e4Pa7SCuw2aSn4bpCYxWnkQ2LwIxJzkWat1aPrN2t5J7vlkdTUn3J5ZCvpC6uk/L3UXr gaDrak2JFKGI4SE1x9EFLU9vd2lEXXJB5VUIcN9ou8MsF7O6zCDJwRGOG8T2QZS4biL2 j47Q== X-Forwarded-Encrypted: i=1; AJvYcCXeUrpQCsU+uWEV2EEcDu/nSzsByUVQg+ziy6b8vuKBvS494ulSbuWxK/vx562NXBPV80dhS79Wo3yQVzI=@vger.kernel.org X-Gm-Message-State: AOJu0YzvvYIyuECZVuijDI4oSUMOBMGFwDwNb3BDhGkC/J7cJ8Avc/Wf tZp0R+JFUyYX50GblUJI2uiGrqdMgldQxnjLYtPrQzi9c3P9rCNmLAL7Pd3WfpoanxI= X-Gm-Gg: ATEYQzzorlUreorVfRFflY984D2afKnRTpTe9tURSnJ5JLh4+2w4SSmOaABXqwSUIjr lWvsCdtRIYetR5MUPq2xkVnADef/Bnkv83wHvhv2IuU6gKElkxAJUukKlE4EDD2M6rZ4lzYCiTr jzmjqdAW8fS+ihW9hL4WL8GxGNiPu5Lc0sm6T5mxAVhggypxZhxKZHPy19bU4CILEe562hJqooz klfXHVpiO2Nv8c8yhyXEyxgTfwBouGFn3tPD3RDyd6hr0xwX01UkqtnlR8O84JPNwRnlM+G3L0t 79smh/1BVL6NlGKv89wfc9syFEa6luq7CBhIphJ4UO4gBImOMKLDUynTyK5cAhcVwTZ4nEJpRlH 7XrI7Nh3SlZNtzp2hOFbxAC+r2F9zq6PT9koUgYm19fogGUQbTC6O6Q78073GltHPVMlWNZzQ4z 5jf3lPidzpaArSnJJo/4GQdisX+Fr6uI0v/x098T8a8r/tmQNsgcIfrk7N X-Received: by 2002:a05:6512:31d6:b0:5a1:3e11:2963 with SMTP id 2adb3069b0e04-5a162b13fe6mr5199056e87.39.1773739817876; Tue, 17 Mar 2026 02:30:17 -0700 (PDT) Received: from nuoska (87-100-249-247.bb.dnainternet.fi. [87.100.249.247]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a15602e713sm3977671e87.32.2026.03.17.02.30.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 02:30:17 -0700 (PDT) Date: Tue, 17 Mar 2026 11:30:14 +0200 From: Mikko Rapeli To: "Vincent Mailhol (Arm)" Cc: Nathan Chancellor , Nicolas Schier , Richard Henderson , Matt Turner , Magnus Lindholm , Russell King , Aaro Koskinen , Andreas Kemnade , Kevin Hilman , Roger Quadros , Tony Lindgren , Huacai Chen , WANG Xuerui , Thomas Bogendoerfer , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , John Paul Adrian Glaubitz , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Sebastian Andrzej Siewior , Clark Williams , Steven Rostedt , Pablo Neira Ayuso , Krzysztof Kozlowski , Alim Akhtar , Frank Li , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Vladimir Zapolskiy , Piotr Wojtaszczyk , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Geert Uytterhoeven , Magnus Damm , Vladimir Kondratiev , Gregory CLEMENT , =?iso-8859-1?Q?Th=E9o?= Lebrun , "James E.J. Bottomley" , Helge Deller , Janusz Krzysztofik , Jonathan =?iso-8859-1?Q?Neusch=E4fer?= , Chris Zankel , Max Filippov , Thomas Zimmermann , Arnd Bergmann , Heiko Stuebner , Kuninori Morimoto , Mark Brown , Eric Biggers , Ard Biesheuvel , Sricharan Ramabadhran , Bjorn Andersson , Michael Walle , Guenter Roeck , Srinivas Kandagatla , "Rob Herring (Arm)" , Dmitry Baryshkov , Greg Kroah-Hartman , Anna Schumaker , Alexandre Gonzalo , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-rt-devel@lists.linux.dev, linux-samsung-soc@vger.kernel.org, imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org, linux-parisc@vger.kernel.org, openbmc@lists.ozlabs.org Subject: Re: [PATCH 1/9] scripts: kconfig: merge_config.sh: use POSIX '=' in test Message-ID: References: <20260317-arm_defconf_cleanup-v1-0-8eecb7fdd24d@kernel.org> <20260317-arm_defconf_cleanup-v1-1-8eecb7fdd24d@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260317-arm_defconf_cleanup-v1-1-8eecb7fdd24d@kernel.org> Hi, On Tue, Mar 17, 2026 at 10:13:37AM +0100, Vincent Mailhol (Arm) wrote: > merge_config.sh yields this warning: > > ./scripts/kconfig/merge_config.sh: 384: [: false: unexpected operator > > This happens because the script runs under /bin/sh but compares > strings using the '==' operator, which is a bash extension. The POSIX > test command only specifies '=' for string equality. > > Replace '==' with the POSIX-compatible '=' so the script works when > run with /bin/sh as intended. > > Fixes: dfc97e1c5da5 ("scripts: kconfig: merge_config.sh: use awk in checks too") > Signed-off-by: Vincent Mailhol (Arm) This fix is already merged in kbuild trees: https://lore.kernel.org/linux-kbuild/20260309121505.40454-1-o451686892@gmail.com/ https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git/log/?h=kbuild-fixes-for-next Cheers, -Mikko > --- > scripts/kconfig/merge_config.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh > index 735e1de450c6..073c6bec5245 100755 > --- a/scripts/kconfig/merge_config.sh > +++ b/scripts/kconfig/merge_config.sh > @@ -381,7 +381,7 @@ END { > STRICT_MODE_VIOLATED=true > fi > > -if [ "$STRICT" == "true" ] && [ "$STRICT_MODE_VIOLATED" == "true" ]; then > +if [ "$STRICT" = "true" ] && [ "$STRICT_MODE_VIOLATED" = "true" ]; then > echo "Requested and effective config differ" > exit 1 > fi > > -- > 2.43.0 >