get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228013,
    "url": "http://patchwork.ozlabs.org/api/patches/2228013/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260424192543.22614-8-philmd@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260424192543.22614-8-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-04-24T19:25:39",
    "name": "[PULL,v4,51/62] hw/usb/hcd-ehci.h: Fix coding style issues reported by checkpatch",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "941bf029b51a7788e2d2a0abbfff0c5659f2e182",
    "submitter": {
        "id": 85046,
        "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "philmd@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260424192543.22614-8-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 501401,
            "url": "http://patchwork.ozlabs.org/api/series/501401/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501401",
            "date": "2026-04-24T19:25:34",
            "name": null,
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/501401/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228013/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228013/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "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 unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=VN9Ynnhe;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g2NJB5cQ7z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 25 Apr 2026 05:27:06 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wGMAh-0003g7-89; Fri, 24 Apr 2026 15:26:39 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wGMAf-0003ek-JB\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 15:26:37 -0400",
            "from mail-wm1-x331.google.com ([2a00:1450:4864:20::331])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wGMAd-0001Zq-Ty\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 15:26:37 -0400",
            "by mail-wm1-x331.google.com with SMTP id\n 5b1f17b1804b1-4838c15e3cbso76949405e9.3\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 12:26:35 -0700 (PDT)",
            "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a4b329542sm577354225e9.3.2026.04.24.12.26.33\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Fri, 24 Apr 2026 12:26:33 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777058794; x=1777663594; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=V9PU/lBCiMa2O6gmY4jmhZxi1sRtg1xdoyCtvP9seb4=;\n b=VN9Ynnhen2Qp620MluMUXdwjyPFxgtSAOQBXdb/wutzaQEETyidzr7vRc4J3rMk4Ij\n 7/maoZF1lXrBqQwyLqPDI+snBtiyBTxKTFSxOymt5/d5TFU6JbKaXieeV+adNYraQmHE\n flot72r1/0i9d0Q2+e+zCFXi68uvUgHOILWOEA6RbLCy8QBqAVpN13XRBozHumkaAS2o\n U02IS9i3TpUZ2TzwDKkvjErs8yOtjgargrGqCU9RDGYS6hjRXlGlsqlTwZOG8j6IAA00\n e9ELFiMNe5pAuqRcqeFP/FDLco5a9QMOdS/h7glUhXsQ+2H7XQe5BvK5KhgMekcYhDTW\n 2eDw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777058794; x=1777663594;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=V9PU/lBCiMa2O6gmY4jmhZx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UlW+4BV/75l1jwv+pyxF16fXY3Eg\n rfQ2ZTdWJU=",
        "X-Received": "by 2002:a05:600c:621a:b0:48a:6268:18a9 with SMTP id\n 5b1f17b1804b1-48a626818cdmr90542525e9.13.1777058793834;\n Fri, 24 Apr 2026 12:26:33 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Subject": "[PULL v4 51/62] hw/usb/hcd-ehci.h: Fix coding style issues reported\n by checkpatch",
        "Date": "Fri, 24 Apr 2026 21:25:39 +0200",
        "Message-ID": "<20260424192543.22614-8-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260424192543.22614-1-philmd@linaro.org>",
        "References": "<20260424192543.22614-1-philmd@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::331;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x331.google.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "From: Jamin Lin <jamin_lin@aspeedtech.com>\n\nNo functional change.\n\nSigned-off-by: Jamin Lin <jamin_lin@aspeedtech.com>\nReviewed-by: Cédric Le Goater <clg@redhat.com>\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nMessage-ID: <20260424080508.53992-4-jamin_lin@aspeedtech.com>\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n hw/usb/hcd-ehci.h | 17 +++++++++++------\n 1 file changed, 11 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/hw/usb/hcd-ehci.h b/hw/usb/hcd-ehci.h\nindex 3aec0e047c9..736407fd521 100644\n--- a/hw/usb/hcd-ehci.h\n+++ b/hw/usb/hcd-ehci.h\n@@ -43,7 +43,8 @@ typedef struct EHCIPacket EHCIPacket;\n typedef struct EHCIQueue EHCIQueue;\n typedef struct EHCIState EHCIState;\n \n-/*  EHCI spec version 1.0 Section 3.3\n+/*\n+ * EHCI spec version 1.0 Section 3.3\n  */\n typedef struct EHCIitd {\n     uint32_t next;\n@@ -74,7 +75,8 @@ typedef struct EHCIitd {\n #define ITD_BUFPTR_MULT_SH       0\n } EHCIitd;\n \n-/*  EHCI spec version 1.0 Section 3.4\n+/*\n+ * EHCI spec version 1.0 Section 3.4\n  */\n typedef struct EHCIsitd {\n     uint32_t next;                  /* Standard next link pointer */\n@@ -118,7 +120,8 @@ typedef struct EHCIsitd {\n     uint32_t backptr;                 /* Standard next link pointer */\n } EHCIsitd;\n \n-/*  EHCI spec version 1.0 Section 3.5\n+/*\n+ * EHCI spec version 1.0 Section 3.5\n  */\n typedef struct EHCIqtd {\n     uint32_t next;                    /* Standard next link pointer */\n@@ -148,7 +151,8 @@ typedef struct EHCIqtd {\n #define QTD_BUFPTR_SH                 12\n } EHCIqtd;\n \n-/*  EHCI spec version 1.0 Section 3.6\n+/*\n+ * EHCI spec version 1.0 Section 3.6\n  */\n typedef struct EHCIqh {\n     uint32_t next;                    /* Standard next link pointer */\n@@ -230,7 +234,8 @@ struct EHCIQueue {\n     int async;\n     int transact_ctr;\n \n-    /* cached data from guest - needs to be flushed\n+    /*\n+     * cached data from guest - needs to be flushed\n      * when guest removes an entry (doorbell, handshake sequence)\n      */\n     EHCIqh qh;             /* copy of current QH (being worked on) */\n@@ -268,7 +273,7 @@ struct EHCIState {\n      */\n     uint8_t caps[CAPA_SIZE];\n     union {\n-        uint32_t opreg[0x44/sizeof(uint32_t)];\n+        uint32_t opreg[0x44 / sizeof(uint32_t)];\n         struct {\n             uint32_t usbcmd;\n             uint32_t usbsts;\n",
    "prefixes": [
        "PULL",
        "v4",
        "51/62"
    ]
}