Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2196899/?format=api
{ "id": 2196899, "url": "http://patchwork.ozlabs.org/api/patches/2196899/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260216-feature_fwumdata-v3-3-9ecc5b10456d@bootlin.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260216-feature_fwumdata-v3-3-9ecc5b10456d@bootlin.com>", "list_archive_url": null, "date": "2026-02-16T13:35:33", "name": "[v3,3/6] tools: mkfwumdata: Improve error message specificity", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "caabffac750b50fd899b8f1dd000d75a86724ece", "submitter": { "id": 80520, "url": "http://patchwork.ozlabs.org/api/people/80520/?format=api", "name": "Kory Maincent", "email": "kory.maincent@bootlin.com" }, "delegate": { "id": 96103, "url": "http://patchwork.ozlabs.org/api/users/96103/?format=api", "username": "apalos", "first_name": "Ilias", "last_name": "Apalodimas", "email": "apalos@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260216-feature_fwumdata-v3-3-9ecc5b10456d@bootlin.com/mbox/", "series": [ { "id": 492310, "url": "http://patchwork.ozlabs.org/api/series/492310/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=492310", "date": "2026-02-16T13:35:30", "name": "Add support for fwumdata", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/492310/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2196899/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2196899/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256\n header.s=dkim header.b=eRCLoYSY;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=bootlin.com header.i=@bootlin.com header.b=\"eRCLoYSY\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=bootlin.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=kory.maincent@bootlin.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fF3hV324tz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 00:36:26 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 10E4F83D0F;\n\tMon, 16 Feb 2026 14:36:14 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id C109B80FA1; Mon, 16 Feb 2026 14:36:03 +0100 (CET)", "from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id CED9C83CF2\n for <u-boot@lists.denx.de>; Mon, 16 Feb 2026 14:36:00 +0100 (CET)", "from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233])\n by smtpout-04.galae.net (Postfix) with ESMTPS id 857E2C17858;\n Mon, 16 Feb 2026 13:36:11 +0000 (UTC)", "from mail.galae.net (mail.galae.net [212.83.136.155])\n by smtpout-01.galae.net (Postfix) with ESMTPS id 8149A606CF;\n Mon, 16 Feb 2026 13:36:00 +0000 (UTC)", "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id 0D3E810369131; Mon, 16 Feb 2026 14:35:56 +0100 (CET)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim;\n t=1771248959; h=from:subject:date:message-id:to:cc:mime-version:content-type:\n content-transfer-encoding:in-reply-to:references;\n bh=keBGrGoLQ1oZdEi83j8RcWAFSXWUXrkBmAykWO+af3w=;\n b=eRCLoYSY/ZLMOQRBL6nd98UOqMnkQuFz5oSoUCHRXzVQqMyngfyL0YyIH3sw1ZJmVrFkBb\n AGgct68/Vn2q0uhpb+ZoT5RMZfVO3wPb/KOZAMaL11aqaXkSFto7jk+6NZuYM/VCI0HB6n\n 22ekw6dbeV+jckOfqFCrob8gnTlJfuCpK9wH2u+lt0vkXEeUODiUTc6NveEzuKOlglCOVp\n HPItk6I9XV95MfZcaQRhw6kawqIzJ/9yygTAnH4RInGCLqZf7NsXqANerBXoKjpmqHmAnp\n fKRSzyKfjqyiZjvsIRYYhYdrBcpdK7WmSIc0QsI1VLo/tiH18YWTE5BTU8q2ZQ==", "From": "Kory Maincent <kory.maincent@bootlin.com>", "Date": "Mon, 16 Feb 2026 14:35:33 +0100", "Subject": "[PATCH v3 3/6] tools: mkfwumdata: Improve error message\n specificity", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260216-feature_fwumdata-v3-3-9ecc5b10456d@bootlin.com>", "References": "<20260216-feature_fwumdata-v3-0-9ecc5b10456d@bootlin.com>", "In-Reply-To": "<20260216-feature_fwumdata-v3-0-9ecc5b10456d@bootlin.com>", "To": "u-boot@lists.denx.de", "Cc": "Thomas Petazzoni <thomas.petazzoni@bootlin.com>,\n Tom Rini <trini@konsulko.com>,\n Patrice Chotard <patrice.chotard@foss.st.com>,\n Paul HENRYS <paul.henrys_ext@softathome.com>,\n Sughosh Ganu <sughosh.ganu@arm.com>, Greg Malysa <malysagreg@gmail.com>,\n Arturs Artamonovs <arturs.artamonovs@analog.com>,\n Vasileios Bimpikas <vasileios.bimpikas@analog.com>,\n Utsav Agarwal <utsav.agarwal@analog.com>,\n Nathan Barrett-Morrison <nathan.morrison@timesys.com>,\n Peng Fan <peng.fan@nxp.com>, Simon Glass <sjg@chromium.org>, =?utf-8?q?Duj?=\n\t=?utf-8?q?e_Mihanovi=C4=87?= <duje@dujemihanovic.xyz>,\n Stefan Roese <stefan.roese@mailbox.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Sumit Garg <sumit.garg@kernel.org>, Heiko Schocher <hs@nabladev.com>,\n Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,\n E Shattow <e@freeshell.de>, Raymond Mao <raymondmaoca@gmail.com>,\n Jan Kiszka <jan.kiszka@siemens.com>, Shiji Yang <yangshiji66@outlook.com>,\n Daniel Golle <daniel@makrotopia.org>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Leonard Anderweit <l.anderweit@phytec.de>,\n Kory Maincent <kory.maincent@bootlin.com>, Yao Zi <me@ziyao.cc>", "X-Mailer": "b4 0.14-dev-d4707", "X-Last-TLS-Session-Version": "TLSv1.3", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "Replace the generic error message with a more informative one.\nThis helps users quickly understand the correct command-line argument\nformat when the tool reports an error.\n\nSigned-off-by: Kory Maincent <kory.maincent@bootlin.com>\n---\n tools/fwumdata_src/mkfwumdata.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/tools/fwumdata_src/mkfwumdata.c b/tools/fwumdata_src/mkfwumdata.c\nindex fbc2067bc12..5ceec7a2980 100644\n--- a/tools/fwumdata_src/mkfwumdata.c\n+++ b/tools/fwumdata_src/mkfwumdata.c\n@@ -473,7 +473,9 @@ int main(int argc, char *argv[])\n \n \t/* This command takes UUIDs * images and output file. */\n \tif (optind + images + 1 != argc) {\n-\t\tfprintf(stderr, \"Error: UUID list or output file is not specified or too much.\\n\");\n+\t\tfprintf(stderr,\n+\t\t\t\"Error: Expected %ld UUID string(s) and 1 output file, got %d argument(s).\\n\",\n+\t\t\timages, argc - optind);\n \t\tprint_usage();\n \t\treturn -ERANGE;\n \t}\n", "prefixes": [ "v3", "3/6" ] }