get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/2234437/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2234437,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234437/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/bcc32f8e0108ecf8ade8f69b42e0dec388058a52.1778171184.git.daniel@makrotopia.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<bcc32f8e0108ecf8ade8f69b42e0dec388058a52.1778171184.git.daniel@makrotopia.org>",
    "list_archive_url": null,
    "date": "2026-05-07T16:41:10",
    "name": "[v3,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.2/people/64091/?format=api",
        "name": "Daniel Golle",
        "email": "daniel@makrotopia.org"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/1.2/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/bcc32f8e0108ecf8ade8f69b42e0dec388058a52.1778171184.git.daniel@makrotopia.org/mbox/",
    "series": [
        {
            "id": 503219,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503219/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=503219",
            "date": "2026-05-07T16:40:15",
            "name": "fit: dm-verity support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/503219/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234437/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234437/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 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 4gBJ156VPvz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 02:41:29 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CDDDC84BA8;\n\tThu,  7 May 2026 18:41:27 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 5E44584BA8; Thu,  7 May 2026 18:41:26 +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 9067484BA1\n for <u-boot@lists.denx.de>; Thu,  7 May 2026 18:41:24 +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 1wL1mj-000000006fW-2jiY; Thu, 07 May 2026 16:41:13 +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, 7 May 2026 17:41:10 +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>,\n Anshul Dalal <anshuld@ti.com>, Martin Schwan <m.schwan@phytec.de>,\n Daniel Golle <daniel@makrotopia.org>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Sughosh Ganu <sughosh.ganu@arm.com>, Benjamin ROBIN <dev@benjarobin.fr>,\n Ludwig Nussel <ludwig.nussel@siemens.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n James Hilliard <james.hilliard1@gmail.com>,\n Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,\n Frank Wunderlich <frank-w@public-files.de>,\n Mayuresh Chitale <mchitale@ventanamicro.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Wolfgang Wallner <wolfgang.wallner@at.abb.com>,\n Shiji Yang <yangshiji66@outlook.com>,\n Aristo Chen <jj251510319013@gmail.com>, Rasmus Villemoes <ravi@prevas.dk>,\n Francois Berder <fberder@outlook.fr>, u-boot@lists.denx.de",
        "Subject": "[PATCH v3 3/7] include: hexdump: make hex2bin() usable from host\n tools",
        "Message-ID": "\n <bcc32f8e0108ecf8ade8f69b42e0dec388058a52.1778171184.git.daniel@makrotopia.org>",
        "References": "<cover.1778171184.git.daniel@makrotopia.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "In-Reply-To": "<cover.1778171184.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>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\nv3: no changes\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": [
        "v3",
        "3/7"
    ]
}