From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (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 DD5E035CB89 for ; Tue, 17 Mar 2026 09:30:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773739821; cv=none; b=KVy8tiemr+aP+Co+I1NFtDEJq8BV1yCoKQK3OZTogxYk81xw/Tc1tFxRzVrp8Nx32EtbV9NCsu0xOHTXJP/Q1hcSB3g1ScQPl1XSEzPJpPVTMdND87lEWx+uHv/auF9lF4IY10aSS1KK54s3UwwB4TirN+XvE6mzrqz86xdggZk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773739821; 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=f6NTD4vKgT/kRU5wlWSrm8bzJCyAX2TAZCJ0wvsYeZw1Nai0eVfo5h8WUji11wMEx3pwXYqtdFk+950FxrQuiPqBjE06pVV8kg0RfU7+KLQqkMnsoN616v9RMgs4Nemz0XZwaVkq53+Ibz6jHxROaRFEbs6KbSSEXo044tTcHu0= 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.54 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-f54.google.com with SMTP id 2adb3069b0e04-59e4a04f059so5553849e87.2 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=YyWaJQ4pTIgtq8L2mq1Zvcn4p3sfXhQkjJ1Ek7ghu7nbDoNIdT2LxJkvyjNj/crvwf 2f2OLZlNGcKgQ3PT5d+l4bnS2Ee7qsXBTCN15lBmIg5Yet49UWNkdVuOd7cnx2l4xW83 /kaNfLMUPdNiW3yArl14KfMOEFkbow6lK+OaBNxHY7hTgg1aZO5T/YFX8iJ1jaJtvVRV POksnflB9rRQNKDa6BCQM4tgQhmLFx3MpL986Xx6Bq+tSsbZHBqy0FWrhbyd9FIs61k9 L8Mf3Q67whqR0TdbsI5GxTLSRPwps8g2vMROjeNUqjm88zvyKPkcu+31sjKwL6BZhLtb VsrQ== X-Forwarded-Encrypted: i=1; AJvYcCVa8MPIhPN9qL0P+MrC1MqzCFq2T+UzxawXxqbgiHZMXExv5WNK6xpQfrYQtY673LYfaDC/JXfNQg==@vger.kernel.org X-Gm-Message-State: AOJu0YyZe8tteY8OG8PIxiDERa6DM7B+w4CVx9zIbCZxydi/G42I2pVJ Bh+GAhOXikQDDreBhbS1tVjZqnnXClTslFd8dR1w8iPZoEIUgCpAoia/v+nrOjG9Lb8= X-Gm-Gg: ATEYQzx7v5L4rvSAYlea1Xxxh/dWX/zZVhnVeGtRLga1Vcl/QqIupJJIud5pJX5sr2Y 7CmiovpVdBKrWGA4+sT7+c45ZUs+SaJ0IohsL4kl9ACjw0bszo94yHKkvNBjJihOoZ1F36Gq2JD NqyXKMpZNYIyU0gi3lCuTBNlIHF6Ec9p6Z0F9NO8wFtOirOXr7/KaVxKSM7Cqv/WbDotgBpX+h1 Si0I8mqcE3p9tYg4TCTuMJbLvyee6rK2yGDaQ0Eh/4mj9AUYDo4paHTFVmHTBs3GgPJM7ZlRUwT GDJ7+tKHVReQewhztVxLpY2/qsIZsx4PheZ4XLNTXBU8DwIlyCc3VXqHxh0swKnZsPTm9RTDDPw kiePrIo5YxvaIpeMIXErWUDIQC/wTNp1ahvrV9vso9TrlpW1jmk+3lezzkvIXyk6ja0FzOQwJn0 +OLPS3BkPp6PLFB0C4CgCX3DjvJthXo6367qcWzJ7k7+170Y/nUQnvr1g6 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-sh@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 >