get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2196078,
    "url": "http://patchwork.ozlabs.org/api/patches/2196078/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260212204511.619392-5-javierm@redhat.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": "<20260212204511.619392-5-javierm@redhat.com>",
    "list_archive_url": null,
    "date": "2026-02-12T20:44:58",
    "name": "[v2,4/7] disk: part_dos: Document part_get_info_extended() helper function",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9540db508aaf8e00018f7c69a010dee2259370e8",
    "submitter": {
        "id": 72132,
        "url": "http://patchwork.ozlabs.org/api/people/72132/?format=api",
        "name": "Javier Martinez Canillas",
        "email": "javierm@redhat.com"
    },
    "delegate": {
        "id": 68728,
        "url": "http://patchwork.ozlabs.org/api/users/68728/?format=api",
        "username": "xypron",
        "first_name": "Heinrich",
        "last_name": "Schuchardt",
        "email": "xypron.glpk@gmx.de"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260212204511.619392-5-javierm@redhat.com/mbox/",
    "series": [
        {
            "id": 492022,
            "url": "http://patchwork.ozlabs.org/api/series/492022/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=492022",
            "date": "2026-02-12T20:44:54",
            "name": "efi_loader: disk: Add EFI_PARTITION_INFO_PROTOCOL support for MBR",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/492022/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2196078/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2196078/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=J5tYWIoS;\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=quarantine dis=none) header.from=redhat.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.b=\"J5tYWIoS\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=javierm@redhat.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 4fBnPz3lP9z1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 07:45:59 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 6EA0B83DE0;\n\tThu, 12 Feb 2026 21:45:32 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id C528883D5D; Thu, 12 Feb 2026 21:45:29 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\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 4B9CE83CB5\n for <u-boot@lists.denx.de>; Thu, 12 Feb 2026 21:45:27 +0100 (CET)",
            "from mail-wm1-f69.google.com (mail-wm1-f69.google.com\n [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-529-0AO64U2fMIulHGSIT6_11Q-1; Thu, 12 Feb 2026 15:45:25 -0500",
            "by mail-wm1-f69.google.com with SMTP id\n 5b1f17b1804b1-4806cfffca6so2095595e9.2\n for <u-boot@lists.denx.de>; Thu, 12 Feb 2026 12:45:25 -0800 (PST)",
            "from localhost (62-151-111-63.jazzfree.ya.com. [62.151.111.63])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4836ff00332sm17387105e9.2.2026.02.12.12.45.22\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 12 Feb 2026 12:45:22 -0800 (PST)"
        ],
        "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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,\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=redhat.com;\n s=mimecast20190719; t=1770929126;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=bPjEhwKqFdW3U76c2HevInzAo01+HnpgzrClJb7Nnk8=;\n b=J5tYWIoSAac7QMkkaFeTCGrdNfmD9F4jyvLt/zobEIB3yEXpem+8uuAz/TdKtMn7VZKd+4\n 3IgdjJaClD8H0PRWv1BnLurHWAu9Nep/Hn6J0U+25AAKbmFMOYR0l9H0hhsqjEJaAylLI5\n D1XXpQRiUSwIjg1TK+DI9lLjvyw6fLg=",
        "X-MC-Unique": "0AO64U2fMIulHGSIT6_11Q-1",
        "X-Mimecast-MFC-AGG-ID": "0AO64U2fMIulHGSIT6_11Q_1770929124",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770929123; x=1771533923;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=bPjEhwKqFdW3U76c2HevInzAo01+HnpgzrClJb7Nnk8=;\n b=Mlmn2bM8QhrsLtdfnQXe4S4+JGGSgjMrUu4KMtfyk1zuU2V8Y0O0hZgnzFRlQX7vup\n Fv+Pylodj2C26N5G4kxvbaCu+WAjVGlu/vqjFongMlrBkSFeAok8s3R3DyoR6chPlURe\n /mzYAZBS+LHnr4j7SRlRmzttKUIYGevvlQCU9W1XYh9QkoR0aiBPxryo+ZEV0zDwVaKz\n k2kA8CKF/LTXLgdysC1Irapyptqg3OdeUQebLIXRk9h9MVbUHMs7CYIpI9PVy4AYs9I7\n Kym7uuBhHlD61zD9EHM1yzUP0HdG+2sTPyMauPrTgrP36f0HshUttLnpRRjUlaatmblE\n /kYQ==",
        "X-Gm-Message-State": "AOJu0YzXkSYpQgltNZ8LEtb86aWlBgn8aucDevLURqMwu09K6XCzfnsK\n //LbGoqrp2VfSx1wuXt2OsV3Y3X7ABh2R4jPCR4IFokp0Tpiod3uRFVOalSYx9Yro5JmO7G7/G8\n cULQZY1vawD0lRM6cKyd2pxI2wnjdKCu0eHXK5ggwqwtNYm8Uy/Wctilt4xWWQfygsNvYxoQohy\n K9V86zXlM9UOGm3wC3XTBMWZ4RqJE7fpbwd9yJdQ==",
        "X-Gm-Gg": "AZuq6aKfWA5QCLcyJi8y+zQ9cPXwrhzFGEcVA2q9MMfocDH3bK8rH0oMCdh0VVvMaSH\n ditGUn73/JrE0K5qiz33ZAOc/wlrl/puVwvk/BTLEF2apkQuE+E77GYmTqfNlfw1ewVDDbzTKwB\n EL5aPj5MIZfdlqSGFCqCTUAfKDwUW5C3kiyX6ffECRcXrxPadjP5FdXMH5yYAXGYpA+yda9hmK2\n EqvQvQ7aSY8SkCTOgm3o4XhQyEeq08uhhuCax17ufxJEH6/A4+P9m3nsHFLwz3lzOqomJL750Bz\n 0KfX5waeWcVRte4gqqHqdQX+B+jlk6tV7Cl3rwEmzWL0k+iC9ZTVwol8JWQy2tFJU9adocRRicN\n WOj6oDjoDGCtdAGe/w3510tfA7bnlnRTorIHUxVgIKzBZTxc=",
        "X-Received": [
            "by 2002:a05:600c:3591:b0:47d:4047:f377 with SMTP id\n 5b1f17b1804b1-4837105571fmr7012255e9.36.1770929123396;\n Thu, 12 Feb 2026 12:45:23 -0800 (PST)",
            "by 2002:a05:600c:3591:b0:47d:4047:f377 with SMTP id\n 5b1f17b1804b1-4837105571fmr7011845e9.36.1770929122948;\n Thu, 12 Feb 2026 12:45:22 -0800 (PST)"
        ],
        "From": "Javier Martinez Canillas <javierm@redhat.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>, eballetb@redhat.com,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Tom Rini <trini@konsulko.com>,\n Javier Martinez Canillas <javierm@redhat.com>",
        "Subject": "[PATCH v2 4/7] disk: part_dos: Document part_get_info_extended()\n helper function",
        "Date": "Thu, 12 Feb 2026 21:44:58 +0100",
        "Message-ID": "<20260212204511.619392-5-javierm@redhat.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260212204511.619392-1-javierm@redhat.com>",
        "References": "<20260212204511.619392-1-javierm@redhat.com>",
        "MIME-Version": "1.0",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "Dyj6ufKcNBtp6Udp_DaMo04rNsitDldaoJP5Fednswk_1770929124",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "The function receives many parameters but these are not documented.\nAdd a description for these to make it easier to follow what it does.\n\nSuggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\nSigned-off-by: Javier Martinez Canillas <javierm@redhat.com>\n---\n\n(no changes since v1)\n\n disk/part_dos.c | 13 ++++++++++++-\n 1 file changed, 12 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/disk/part_dos.c b/disk/part_dos.c\nindex 60c3d6773696..a69ad8962106 100644\n--- a/disk/part_dos.c\n+++ b/disk/part_dos.c\n@@ -196,7 +196,18 @@ static void print_partition_extended(struct blk_desc *desc,\n \treturn;\n }\n \n-/*  Print a partition that is relative to its Extended partition table\n+/**\n+ * part_get_info_extended() - get partition info for a DOS partition\n+ *\n+ * @desc:\t\tBlock device descriptor\n+ * @ext_part_sector:\tPartition table sector\n+ * @relative:\t\tRelative offset for the partition\n+ * @part_num:\t\tCurrent partition number\n+ * @which_part:\t\tTarget partition number\n+ * @info:\t\tReturns a pointer to the partition info\n+ * @disksig:\t\tDisk signature\n+ *\n+ * Return:\t\t0 on success, negative on error\n  */\n static int part_get_info_extended(struct blk_desc *desc,\n \t\t\t\t  lbaint_t ext_part_sector, lbaint_t relative,\n",
    "prefixes": [
        "v2",
        "4/7"
    ]
}