get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2232264,
    "url": "http://patchwork.ozlabs.org/api/patches/2232264/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260504091023.v2.1.d2ced6516d3db067379940b538830e60968dbf6c@changeid/",
    "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": "<20260504091023.v2.1.d2ced6516d3db067379940b538830e60968dbf6c@changeid>",
    "list_archive_url": null,
    "date": "2026-05-04T07:10:23",
    "name": "[v2] virtio: fix boot device hunting in qemu with virtio",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "5e926f0a216f38257e0f55cac3e25d0837e33520",
    "submitter": {
        "id": 90265,
        "url": "http://patchwork.ozlabs.org/api/people/90265/?format=api",
        "name": "Ludwig Nussel",
        "email": "ludwig.nussel@siemens.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260504091023.v2.1.d2ced6516d3db067379940b538830e60968dbf6c@changeid/mbox/",
    "series": [
        {
            "id": 502618,
            "url": "http://patchwork.ozlabs.org/api/series/502618/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=502618",
            "date": "2026-05-04T07:10:23",
            "name": "[v2] virtio: fix boot device hunting in qemu with virtio",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502618/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2232264/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2232264/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 secure) header.d=siemens.com header.i=ludwig.nussel@siemens.com\n header.a=rsa-sha256 header.s=fm2 header.b=JO4Gr7d5;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=siemens.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 secure) header.d=siemens.com header.i=ludwig.nussel@siemens.com\n header.b=\"JO4Gr7d5\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=siemens.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=ludwig.nussel@siemens.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 4g8CVn6yJfz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 04 May 2026 17:11:29 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 52D7F84255;\n\tMon,  4 May 2026 09:11:25 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 2728B8432A; Mon,  4 May 2026 09:11:24 +0200 (CEST)",
            "from mta-64-228.siemens.flowmailer.net\n (mta-64-228.siemens.flowmailer.net [185.136.64.228])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 043DC83EF9\n for <u-boot@lists.denx.de>; Mon,  4 May 2026 09:11:21 +0200 (CEST)",
            "by mta-64-228.siemens.flowmailer.net with ESMTPSA id\n 2026050407112088b69a3dae0002070e for <u-boot@lists.denx.de>;\n Mon, 04 May 2026 09:11:20 +0200"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_MED,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,\n SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm2;\n d=siemens.com; i=ludwig.nussel@siemens.com;\n h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc;\n bh=LThfucZeKYpC6YnkyVKLCVOU0TXulTxDPwfmAtb+AoE=;\n b=JO4Gr7d58v5b5HqPPaqMt+8gF9HuerOmoS7lc2Ea8ASxjP5t/X6cbPQtt+vabC4PjTysse\n zK/kXeO0/yIkVFnp2D8OabxcvJcaUU2hIW+tVKYtqxpEW/TSDlweKDvyxf/zOSNGbvg4vVeQ\n 6rLDjMXE6ULBk+T6MJVV5fqQ1yb93pT4iY/KIBGdAYGfmVz54RLntBkq66Pk3jYWG+0+Tuyq\n Tu0yzf/jPn/PPBD2kcUFGF2ds8DRm0mkO21baL6SAuydW7DE+vN+LHzERswwNf0bJgTxnrW6\n VyDobjfYgr+z/52XCFgYoRLz+39A2v99Dz0F910FuPj7nYKqTn9kkR7Q==;",
        "From": "Ludwig Nussel <ludwig.nussel@siemens.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Ludwig Nussel <ludwig.nussel@siemens.com>, Bin Meng <bmeng.cn@gmail.com>,\n Daniel Palmer <daniel@thingy.jp>, Kuan-Wei Chiu <visitorckw@gmail.com>,\n Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH v2] virtio: fix boot device hunting in qemu with virtio",
        "Date": "Mon,  4 May 2026 09:10:23 +0200",
        "Message-ID": "\n <20260504091023.v2.1.d2ced6516d3db067379940b538830e60968dbf6c@changeid>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Flowmailer-Platform": "Siemens",
        "Feedback-ID": "519:519-1328817:519-21489:flowmailer",
        "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": "Commit 70101c3217ae (\"virtio: mmio: Return error codes on probe\nfailures\") returns -ENODEV where it would return 0 before. That path is\napparently hit in qemu and breaks boot device discovery\n(virtio_bootdev_hunt() expects only ENOENT). So return -ENOENT in\nthat path instead.\nThe remaining two error returns in the function are untouched as I\ndon't know where they play a role.\n\nSigned-off-by: Ludwig Nussel <ludwig.nussel@siemens.com>\n\n---\n\nChanges in v2:\n - return ENOENT in probe()\n\n drivers/virtio/virtio_mmio.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c\nindex 62afe609ec0..d90d8309f99 100644\n--- a/drivers/virtio/virtio_mmio.c\n+++ b/drivers/virtio/virtio_mmio.c\n@@ -372,7 +372,7 @@ static int virtio_mmio_probe(struct udevice *udev)\n \t\t * virtio-mmio device with an ID 0 is a (dummy) placeholder\n \t\t * with no function. End probing now with no error reported.\n \t\t */\n-\t\treturn -ENODEV;\n+\t\treturn -ENOENT;\n \t}\n \tuc_priv->vendor = readl(priv->base + VIRTIO_MMIO_VENDOR_ID);\n \n",
    "prefixes": [
        "v2"
    ]
}