From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E153FEC11B for ; Wed, 25 Mar 2026 10:33:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1YdLLPvhrLqr3leo2yV2SzWVOedYTsCtlI8mpbnWVnI=; b=nKrBpkGETf3P5A o6jucvQ+2gD+J6WrKD1/SEDiUrMWnlED72V4Tjood1D5Xm7TlaR5JHx+x58U5BXwV17iGRVQ1gRrB ytQu+41KILlWQrJ1Mrqufzgld59ociEfOebrX3jF7RjtOS9unfXFlVlIVOn6xmkdMfT0kll3XDOSF mbzmExWDLcGOTwtonRJ54RbubrkS2vMMfWwOCgFcw0qIp51+Hr1NgjP25zpvHscLb9M/PMFRYsXFg UX6oweHGOekXH9kpiliO3BMiNwG8lDdxQdjr/MBzMOQ+t4V7whGbnKMO2MCA0cUJyTNJWXf99145n JHf7lXps1mMKZWhDBMKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5LYc-00000003A5m-21wk; Wed, 25 Mar 2026 10:33:50 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1w5LYZ-00000003A4x-2vlE; Wed, 25 Mar 2026 10:33:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 974C04356F; Wed, 25 Mar 2026 10:33:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45D04C4CEF7; Wed, 25 Mar 2026 10:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774434826; bh=aJiJufwALZTrMErym90lg9xadYFrtwTh9zLM612wdfU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IQ7wamBuBswIV06YMQ512/86FaeSJDO1hVJmHF15aa7lwqSBhYRoh2/xQs7mCuMVn jIZx2QfPrLjG8x4HGTqwuohoFEss2YApWTN6VCPS6cZhs/Cz8meOXIe/nuz3nW3OfQ sW0aKsRm2pkCRj3Tz0xlGVf6Gag2qK2q2BHc6gd5m/lWaXyDpvlRC/a6o2Y0gsRKbw RfK3wED0pdnN0Lx0xk8dNqAWio6aPnfaaxOQ/5BjXGXYBkYeT67KblOmgVEwNZOcNA F7WJV99ADDvaoAhrnEG8aPpXAxBYDzixJeHIYfU0n1hRsq0hJGFAKTXaXIvu5adZgH fldf6DCQY3dFg== Message-ID: <965fe446-8f91-48bf-9453-878fef4eb1d0@kernel.org> Date: Wed, 25 Mar 2026 11:33:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/9] scripts: kconfig: merge_config.sh: use POSIX '=' in test To: Mikko Rapeli 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 , =?UTF-8?Q?Th=C3=A9o_Lebrun?= , "James E.J. Bottomley" , Helge Deller , Janusz Krzysztofik , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , 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 References: <20260317-arm_defconf_cleanup-v1-0-8eecb7fdd24d@kernel.org> <20260317-arm_defconf_cleanup-v1-1-8eecb7fdd24d@kernel.org> From: "Vincent Mailhol (Arm)" Content-Language: en-US In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260325_033347_787182_6FC87FF0 X-CRM114-Status: GOOD ( 12.26 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 3/17/26 10:30, Mikko Rapeli wrote: > 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 Noted! I actually started to write this before the other solution was posted, but, anyway, this will be removed in v2. Yours sincerely, Vincent Mailhol _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv