Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D942606A322 for ; Fri, 4 Dec 2026 18:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=tcA0f2nV; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KKULDQrS Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 0DA266115A; Fri, 4 Dec 2026 18:13:55 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id KKD66jPwUvFr; Fri, 4 Dec 2026 18:13:54 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 4B36D61112 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796408034; b=olGy6XVk+vVu8cXzF0ti5d0r2ElYv8uvZxjEhncNpLmmO6N/ILeC0Td9ihB379oCqg1/ zYnF+SFP1+o/TR1zwR7D6wJJqdObSyBVBPBzW/feaSQBGfO9bFatj5rsRSWitLz9cIvNb FwiT3UM5dxAKvvHqLdoWFjwhM0gXTe0E+x6GaspAxgvyzPLJNP7fSklPKHV1tqr5wP7mD wDZ8hXZalcKFuU8kb2pZlunL+pAEzk8PPtNbrAMXhgxcMNgECTcU9fkEyN+PMvIRuYSV6 PKTk/A7YhpWVuV9sWl5glyAUmbLx0rirj1P3PBXXHZ18liSsIGg1IbjfaUyve6C275A== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796408034; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg: X-Received:Received:From:Date:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc: X-Mailer:X-BeenThere:X-Mailman-Version:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Errors-To; bh=orUeOmU/3FUYUFbdsqezUlAQtiyVVWDUyiGSNaPgKAg=; b=OXtOSITV3w+r7ZECcuG40ExFqGIOFcu1sUuCnO39LTUEV4LWcFO3Ig9QgIJJsqRgfNd2 1J/miRT79wl5HT/Ciu8MKINPf18+sNYIKnL8tBjw4bRwKte4CXTXA6sAbTND3A4CCpGI/ GsLalcnLuQBxftzO00YOdJ9RTtNDjnyAsGRWlmvfpfKGHQLoxBnMG3DtXxfxt4yx9QUps KBSflFaFF+dPbVR+rB2JqNf44fh5I15ulNLrtsZpe5Y/Crjgb4UKj15ADJthyAgfnBGi+ Zmmvy/hSO2KvZwJzV8Ej89e7xis24MviD6iZjiFs2KuXiRXL2255peHKF6dY2nL/88g== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796408034; bh=orUeOmU/3FUYUFbdsqezUlAQtiyVVWDUyiGSNaPgKAg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tcA0f2nVSMBsuVl3jbk6wEwUlQLHtJgiTHu+dEAh198y5ZvnVOgHYkrz+DmvNKRI8 j1lK040y1cubDUy58zl7clTg2l53FJ3mcLA4ce4V+jUEXUu07+7fC3J8iU9KTCw/2n dr1N6hEpdJ26vNLP/5+4dcc3jPxaYOudLoe/UJuHLzeWy2yhGbPg0J9Y5mrnNMrkJG 8cGGDpcKwYsvKLrpnnITfMIZpHvbvALGwuJSGYc+5TrIc41N9l0hhEGUZDEtXRXq1A vvs3xr1wr2lMticIbZliE9wtzhH6tKYXyBYQ1/izuxAP7kWAWv+b5/LHtlGpiwvu2R N2ypo3rTf9hBA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 4B36D61112; Fri, 4 Dec 2026 18:13:54 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id 777BF2E0 for ; Fri, 4 Dec 2026 18:13:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 5E475400AC for ; Fri, 4 Dec 2026 18:13:52 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 15kumaA053tY for ; Fri, 4 Dec 2026 18:13:51 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org 3F85F40068 Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip="2a00:1450:4864:20::42f" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::42f; helo=mail-wr1-x42f.google.com; envelope-from=andrew.goodbody@linaro.org; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KKULDQrS Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by smtp2.osuosl.org (Postfix) with ESMTPS id 3F85F40068 for ; Fri, 4 Dec 2026 18:13:47 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-4a357b1c649so747000f8f.3 for ; Fri, 04 Dec 2026 10:13:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1796408025; x=1797012825; darn=lists.u-boot-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=orUeOmU/3FUYUFbdsqezUlAQtiyVVWDUyiGSNaPgKAg=; b=KKULDQrSY6G6B9ZqlbLPO7eodDKV1ttXM1JffO40+lBHCmqmTRmQUDFRj0hoWuz5RO WsX00WH40J7EVLRgiB/gXvTbJFp5M3ew4Nc6LUiLPbs+VunlFaCdCCin4RIC6pYDJSYH 1nD12UaF4rABEAJPiVCMivI8xhUdHXDKLsPeQoIiiuhG2I6Sk5iH35HLPbLqkD0ffLO0 v6iWbRcXgb5ftsEnSsXWPjw6rY3b2ODaJDGCc/RneHr7BlXxy6tlKke5T3OalPPi6K2G P9Srl/cL2elTO9tADOARMlMoOuPPbOGo4FTcLVgZnGj4Rge2oJ5sZjMXJFIDNo0hZvLi NqQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408025; x=1797012825; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=orUeOmU/3FUYUFbdsqezUlAQtiyVVWDUyiGSNaPgKAg=; b=ROArUBiuT8pviUzZmrc5fWJQMv5ps8GTzIxZdRkRZJODFMd+mGre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received: by 2002:a05:6000:3c5:b0:4ae:43e9:da61 with SMTP id ffacd0b85a97d-4d1e291c272mr5175577f8f.4.1796408025159; Fri, 04 Dec 2026 10:13:45 -0800 (PST) Received: from artemis3.elfringham ([2a0a:ef40:ee3:3401:7071:3a81:cc99:9c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d174452809sm6915361f8f.53.2026.12.04.10.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:13:44 -0800 (PST) From: Andrew Goodbody Date: Fri, 04 Dec 2026 18:13:37 +0000 Subject: [PATCH v4 02/14] binman: bintool: Do not add empty argument X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261204-qcheck_fix-v4-2-3cdf2e164297@linaro.org> References: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> In-Reply-To: <20261204-qcheck_fix-v4-0-3cdf2e164297@linaro.org> To: u-boot@lists.u-boot-project.org, Kory Maincent , Linus Walleij , Ilias Apalodimas Cc: Andrew Goodbody , Tom Rini , Anshul Dalal , Alexey Charkov , Heinrich Schuchardt , Mattijs Korpershoek , Carlo Caione , Yao Zi , Michal Simek , Quentin Schulz , Marek Vasut X-Mailer: b4 0.16.0 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-19.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 If lzma_alone is invoked with an empty argument it will emit a message to stderr. When 'combined' is used to examine the output of this command the content is not deterministic in that stdout and stderr may appear out of order on occasions. To prevent this situation do not add an argument list to the command when it is empty. In this situation no error message is emitted only the usage and this is always sent to only stdout or only to stderr depending on the version of lzma_alone. Reviewed-by: Quentin Schulz Signed-off-by: Andrew Goodbody --- tools/binman/btool/lzma_alone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/btool/lzma_alone.py b/tools/binman/btool/lzma_alone.py index 1fda2f68c7b..deba3ff7677 100644 --- a/tools/binman/btool/lzma_alone.py +++ b/tools/binman/btool/lzma_alone.py @@ -116,7 +116,7 @@ class Bintoollzma_alone(bintool.Bintool): Returns: str: Version number of lzma_alone """ - out = self.run_cmd_result('', raise_on_error=False).stderr.strip() + out = self.run_cmd_result(raise_on_error=False).stderr.strip() lines = out.splitlines() if not lines: return super().version() -- 2.47.3