Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2223701/?format=api
{ "id": 2223701, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2223701/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/8a5a44f1c0b0ede9e8a3f66e9cfad8807963e756.1776302806.git.daniel@makrotopia.org/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<8a5a44f1c0b0ede9e8a3f66e9cfad8807963e756.1776302806.git.daniel@makrotopia.org>", "date": "2026-04-16T01:46:42", "name": "[v2,3/7] include: hexdump: make hex2bin() usable from host tools", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "24a06ed99cba0a90c03af17b85d973dc53a5af3f", "submitter": { "id": 64091, "url": "http://patchwork.ozlabs.org/api/1.1/people/64091/?format=api", "name": "Daniel Golle", "email": "daniel@makrotopia.org" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/1.1/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/8a5a44f1c0b0ede9e8a3f66e9cfad8807963e756.1776302806.git.daniel@makrotopia.org/mbox/", "series": [ { "id": 500065, "url": "http://patchwork.ozlabs.org/api/1.1/series/500065/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500065", "date": "2026-04-16T01:46:15", "name": "fit: dm-verity support", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/500065/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2223701/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2223701/checks/", "tags": {}, "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 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=none (p=none dis=none) header.from=makrotopia.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=makrotopia.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=daniel@makrotopia.org" ], "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 4fx1942Pd9z1yG9\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 11:47:20 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 051288423E;\n\tThu, 16 Apr 2026 03:47:01 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id C2C7F8423D; Thu, 16 Apr 2026 03:47:00 +0200 (CEST)", "from pidgin.makrotopia.org (pidgin.makrotopia.org\n [IPv6:2a07:2ec0:3002::65])\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 7BAE08420C\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 03:46:58 +0200 (CEST)", "from local\n by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256)\n (Exim 4.99) (envelope-from <daniel@makrotopia.org>)\n id 1wDBoc-000000006eN-0asN; Thu, 16 Apr 2026 01:46:46 +0000" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "Date": "Thu, 16 Apr 2026 02:46:42 +0100", "From": "Daniel Golle <daniel@makrotopia.org>", "To": "Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Kory Maincent <kory.maincent@bootlin.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>, Peng Fan <peng.fan@nxp.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Martin Schwan <m.schwan@phytec.de>,\n Daniel Golle <daniel@makrotopia.org>, Anshul Dalal <anshuld@ti.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Sughosh Ganu <sughosh.ganu@arm.com>,\n Aristo Chen <jj251510319013@gmail.com>,\n Ludwig Nussel <ludwig.nussel@siemens.com>,\n Benjamin ROBIN <dev@benjarobin.fr>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n David Lechner <dlechner@baylibre.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Mayuresh Chitale <mchitale@ventanamicro.com>,\n Jonas Karlman <jonas@kwiboo.se>, Shiji Yang <yangshiji66@outlook.com>,\n Rasmus Villemoes <ravi@prevas.dk>,\n Francois Berder <fberder@outlook.fr>, u-boot@lists.denx.de", "Subject": "[PATCH v2 3/7] include: hexdump: make hex2bin() usable from host\n tools", "Message-ID": "\n <8a5a44f1c0b0ede9e8a3f66e9cfad8807963e756.1776302806.git.daniel@makrotopia.org>", "References": "<cover.1776302805.git.daniel@makrotopia.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<cover.1776302805.git.daniel@makrotopia.org>", "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": "Make hexdump.h work in host-tool builds by using 'uint8_t' instead\nof 'u8', and including either user-space libc <ctype.h> for host-tools\nor <linux/ctype.h> when building U-Boot itself.\n\nSigned-off-by: Daniel Golle <daniel@makrotopia.org>\n---\nv2: new patch\n\n include/hexdump.h | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/include/hexdump.h b/include/hexdump.h\nindex f2ca4793d69..5cb48d79efe 100644\n--- a/include/hexdump.h\n+++ b/include/hexdump.h\n@@ -7,7 +7,11 @@\n #ifndef HEXDUMP_H\n #define HEXDUMP_H\n \n+#ifdef USE_HOSTCC\n+#include <ctype.h>\n+#else\n #include <linux/ctype.h>\n+#endif\n #include <linux/types.h>\n \n enum dump_prefix_t {\n@@ -20,7 +24,7 @@ extern const char hex_asc[];\n #define hex_asc_lo(x)\thex_asc[((x) & 0x0f)]\n #define hex_asc_hi(x)\thex_asc[((x) & 0xf0) >> 4]\n \n-static inline char *hex_byte_pack(char *buf, u8 byte)\n+static inline char *hex_byte_pack(char *buf, uint8_t byte)\n {\n \t*buf++ = hex_asc_hi(byte);\n \t*buf++ = hex_asc_lo(byte);\n@@ -52,7 +56,7 @@ static inline int hex_to_bin(char ch)\n *\n * Return 0 on success, -1 in case of bad input.\n */\n-static inline int hex2bin(u8 *dst, const char *src, size_t count)\n+static inline int hex2bin(uint8_t *dst, const char *src, size_t count)\n {\n \twhile (count--) {\n \t\tint hi = hex_to_bin(*src++);\n", "prefixes": [ "v2", "3/7" ] }