get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218132,
    "url": "http://patchwork.ozlabs.org/api/patches/2218132/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260331131514.21152-9-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": "<20260331131514.21152-9-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-03-31T13:15:10",
    "name": "[PULL,08/11] ati-vga: Add upper limit to x-linear-aper-size property",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "203db0445e11d592d491d3fe7597d22cfeb9cac1",
    "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/20260331131514.21152-9-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 498197,
            "url": "http://patchwork.ozlabs.org/api/series/498197/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498197",
            "date": "2026-03-31T13:15:02",
            "name": "[PULL,01/11] ppc/pnv: generate dtb after machine initialization is complete",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498197/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218132/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218132/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=vmuKhUA2;\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=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.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 4flTCp2B5Mz1y1q\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 01 Apr 2026 00:16:38 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w7YxJ-0006a1-Pu; Tue, 31 Mar 2026 09:16:29 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1w7YxI-0006Ya-0E\n for qemu-devel@nongnu.org; Tue, 31 Mar 2026 09:16:28 -0400",
            "from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d])\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 1w7YxG-0004CO-D5\n for qemu-devel@nongnu.org; Tue, 31 Mar 2026 09:16:27 -0400",
            "by mail-wm1-x32d.google.com with SMTP id\n 5b1f17b1804b1-4852a9c6309so48074245e9.0\n for <qemu-devel@nongnu.org>; Tue, 31 Mar 2026 06:16:25 -0700 (PDT)",
            "from localhost.localdomain (43.149.216.82.rev.sfr.net.\n [82.216.149.43]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48880946cc5sm16401325e9.13.2026.03.31.06.16.22\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Tue, 31 Mar 2026 06:16:23 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1774962984; x=1775567784; 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=iBOEKdnNX+UB0CEMFgda2sLylOVtVPePP1bIf9KL7R8=;\n b=vmuKhUA2UnDShT3tCb0+kgsb5uFMnA8jCoaeNF+Lnh3nOsSUxeBWftcdpVyTC0i9jT\n PBDNDB7l+fFXKL3VG+sR16lBPGnHRjXc6/Rs2ylbgYgBwPi8TMY12uqGW3jkrgZzxnD7\n yFTXAffmVHDN9ewtDYs2qJ+2f0tl5sfDXSdCx/9b4WVsFVagU7X2ZKomTnKQkZS9AVR2\n zAt7GlvtwhtCMJdI5tU389kGpnttT4FBV3ZtKMoNXVGI1G9qXh3TNCPrByLnNhjWBJm+\n twngo4gJrKo5Efgy68UAVexwlqWk7p3+esLaG1gz2z7pFxTVX9uYqmLtV4Ex1hHe2Evx\n EH0w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774962984; x=1775567784;\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=iBO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RU3FxwnmmxTjc4zc=",
        "X-Received": "by 2002:a05:600c:c493:b0:487:55c:e0c1 with SMTP id\n 5b1f17b1804b1-48727efca4emr269419895e9.14.1774962983937;\n Tue, 31 Mar 2026 06:16:23 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Subject": "[PULL 08/11] ati-vga: Add upper limit to x-linear-aper-size property",
        "Date": "Tue, 31 Mar 2026 15:15:10 +0200",
        "Message-ID": "<20260331131514.21152-9-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260331131514.21152-1-philmd@linaro.org>",
        "References": "<20260331131514.21152-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::32d;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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: BALATON Zoltan <balaton@eik.bme.hu>\n\nCoverity warns in CID 1645968 about possible integer overflow. This\nshould never happen but to ensure that, add an upper limit on the\nx-linear-aper-size. This may not silence the warning but makes sure\nusers cannot cause an overflow.\n\nSigned-off-by: BALATON Zoltan <balaton@eik.bme.hu>\nReviewed-by: Peter Maydell <peter.maydell@linaro.org>\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nMessage-ID: <541ffffdaa4c67b9dcbca6c2498e69b137bce95d.1774904832.git.balaton@eik.bme.hu>\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n hw/display/ati.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/hw/display/ati.c b/hw/display/ati.c\nindex fc19737d1f0..97d871b1e22 100644\n--- a/hw/display/ati.c\n+++ b/hw/display/ati.c\n@@ -1130,6 +1130,10 @@ static void ati_vga_realize(PCIDevice *dev, Error **errp)\n             s->linear_aper_sz = ATI_R100_LINEAR_APER_SIZE;\n         }\n     }\n+    if (s->linear_aper_sz > 256 * MiB) {\n+        error_setg(errp, \"x-linear-aper-size is too large (maximum 256 MiB)\");\n+        return;\n+    }\n     if (s->linear_aper_sz < 16 * MiB) {\n         error_setg(errp, \"x-linear-aper-size is too small (minimum 16 MiB)\");\n         return;\n",
    "prefixes": [
        "PULL",
        "08/11"
    ]
}