get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229572,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229572/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260428133612.669105-1-ludwig.nussel@siemens.com/",
    "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": "<20260428133612.669105-1-ludwig.nussel@siemens.com>",
    "date": "2026-04-28T13:36:02",
    "name": "virtio: ignore ENODEV for boot device hunting",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a90880b92351106716d9be241996c47b04c2f535",
    "submitter": {
        "id": 90265,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90265/?format=api",
        "name": "Ludwig Nussel",
        "email": "ludwig.nussel@siemens.com"
    },
    "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/20260428133612.669105-1-ludwig.nussel@siemens.com/mbox/",
    "series": [
        {
            "id": 501857,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501857/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501857",
            "date": "2026-04-28T13:36:02",
            "name": "virtio: ignore ENODEV for boot device hunting",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501857/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229572/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229572/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\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=QACMwA1X;\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=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=\"QACMwA1X\";\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\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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4hLQ4THHz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 23:37:02 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 23C1784150;\n\tTue, 28 Apr 2026 15:36:54 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 4847D84255; Tue, 28 Apr 2026 15:36:53 +0200 (CEST)",
            "from mta-65-227.siemens.flowmailer.net\n (mta-65-227.siemens.flowmailer.net [185.136.65.227])\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 3ED7D84119\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 15:36:50 +0200 (CEST)",
            "by mta-65-227.siemens.flowmailer.net with ESMTPSA id\n 20260428133646f27b00de570002071a for <u-boot@lists.denx.de>;\n Tue, 28 Apr 2026 15:36:46 +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.3 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=PrFmIxoBdPv3IfcUDSpApUyENmYYifurYcOqeQyJDbw=;\n b=QACMwA1Xo0Tb/dgiRTf+xIcszcVJSJvUERo+BKTq1OKHObajxeUnKOPhjczTDylhaxBO6n\n OYY2dypbTtjhqF6hmcMyHvzns0fSNVhmSdoec6qPPvGYgA1W5dTA8YcWT47QUoBsiUnoOw4Z\n q2XUqNUOnit9/7g1fbkIP/05QU9/gS1RWVfZY7JcaDoSQ7SzkChWo3DAQ5ozo7g0Y+1moBLq\n EdXV1J/lLR38MXOToS04my2ubUskUe0TJserUhtTaug2+R75N8TftYPabJ7Mju3AFp0rHJAK\n tg2hDHhQSCnlyMwbT14chHO0/5CGsIZB0Ao7Pmlp+pnOBkxOJJJ4pKIA==;",
        "From": "Ludwig Nussel <ludwig.nussel@siemens.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Ludwig Nussel <ludwig.nussel@siemens.com>,\n Adam Lackorzynski <adam@l4re.org>, Bin Meng <bmeng.cn@gmail.com>,\n\t=?utf-8?q?Christian_P=C3=B6tzsch?= <christian.poetzsch@kernkonzept.com>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH] virtio: ignore ENODEV for boot device hunting",
        "Date": "Tue, 28 Apr 2026 15:36:02 +0200",
        "Message-ID": "<20260428133612.669105-1-ludwig.nussel@siemens.com>",
        "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 in some situations. That breaks boot device\ndiscovery. Ignoring that error seems to fix the issue. Not sure it's the\ncorrect thing to do though.\n\nSigned-off-by: Ludwig Nussel <ludwig.nussel@siemens.com>\n---\n\n drivers/virtio/virtio-uclass.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/virtio/virtio-uclass.c b/drivers/virtio/virtio-uclass.c\nindex c36e9e9b3a7..48b5ef288b0 100644\n--- a/drivers/virtio/virtio-uclass.c\n+++ b/drivers/virtio/virtio-uclass.c\n@@ -382,7 +382,7 @@ static int virtio_bootdev_hunt(struct bootdev_hunter *info, bool show)\n \t}\n \n \tret = uclass_probe_all(UCLASS_VIRTIO);\n-\tif (ret && ret != -ENOENT)\n+\tif (ret && ret != -ENOENT && ret != -ENODEV)\n \t\treturn log_msg_ret(\"vir\", ret);\n \n \treturn 0;\n",
    "prefixes": []
}