get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2233347,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233347/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260506111121.f6e1e25c7cf6.I3be0bd4a7c01e6a29474eb462b348b1789acc88e@changeid/",
    "project": {
        "id": 22,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/22/?format=api",
        "name": "HostAP Development",
        "link_name": "hostap",
        "list_id": "hostap.lists.infradead.org",
        "list_email": "hostap@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260506111121.f6e1e25c7cf6.I3be0bd4a7c01e6a29474eb462b348b1789acc88e@changeid>",
    "date": "2026-05-06T09:11:22",
    "name": "tests: ap_pmf: fix an exception string format",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4a5bd84293559c7ef5927a91e55095acc75c2ee2",
    "submitter": {
        "id": 265,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/265/?format=api",
        "name": "Johannes Berg",
        "email": "johannes@sipsolutions.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260506111121.f6e1e25c7cf6.I3be0bd4a7c01e6a29474eb462b348b1789acc88e@changeid/mbox/",
    "series": [
        {
            "id": 502944,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502944/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=502944",
            "date": "2026-05-06T09:11:22",
            "name": "tests: ap_pmf: fix an exception string format",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502944/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233347/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233347/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.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 secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=nWm0CfqT;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256\n header.s=casper.20170209 header.b=pCAJ4wzg;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n secure) header.d=sipsolutions.net header.i=@sipsolutions.net\n header.a=rsa-sha256 header.s=mail header.b=vDay48I6;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\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 4g9V794pqjz1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 19:13:57 +1000 (AEST)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux))\n\tid 1wKYI9-00000000JAt-0Xyp;\n\tWed, 06 May 2026 09:11:41 +0000",
            "from casper.infradead.org ([2001:8b0:10b:1236::1])\n\tby bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))\n\tid 1wKYI7-00000000JAG-38I3\n\tfor hostap@bombadil.infradead.org;\n\tWed, 06 May 2026 09:11:39 +0000",
            "from s3.sipsolutions.net ([2a01:4f8:242:246e::2]\n helo=sipsolutions.net)\n\tby casper.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux))\n\tid 1wKYI4-000000013Cn-3a0m\n\tfor hostap@lists.infradead.org;\n\tWed, 06 May 2026 09:11:38 +0000",
            "by sipsolutions.net with esmtpsa\n (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)\n\t(Exim 4.98.2)\n\t(envelope-from <johannes@sipsolutions.net>)\n\tid 1wKYHs-00000000kYt-1jXq;\n\tWed, 06 May 2026 11:11:24 +0200"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=ZChp3SxB9LRsU3MCjMikBaDJ493vqod7nISTzJRGTsA=; b=nWm0CfqTgdgiZb\n\tTT4ZAs970OvoA7BLm/jE919wL1AVW+VbE+xaW+5BFwnJ1CVix1IxI6Mai9AX4xuJrcg0bx8NV54zj\n\tzUsIpfyjf/lQ6ahWbdgQMTARwo03f742fU7eslMKN6Jz+V6uC6bpDITvARO1t6C0ScEzXrAiXEeNd\n\tte2aj/p1aOzcgaDFt6JWGXfcYoA03yQX5tLT3oNZsB+zTzrbgfNiIpOEsOI0NcgqWuj4m/ddnJ0qI\n\tjQx6K6BFXEEthwun9Evsnl9nEQiPTmgTdGWq+wUh+1KEkSRhX7CRsxHDN2wcUkiennsNO91PcUQRd\n\tgL3gbnPx0cs7XzUrFugA==;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version:\n\tMessage-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:\n\tContent-Description:In-Reply-To:References;\n\tbh=eqPc3uM88QCGGmv/3c4rSsXzYEWAhDCBys9dvK0vOtU=; b=pCAJ4wzg5BQaFl0mJgYWErmA1G\n\tMpIaTSmMpj+5YvwkdUul7HJpaFRtmzCRvKooR097XCo8T2yD95o4GNi+ws2muat7O73EdknqzVF51\n\tN6LoV6XR6A67USezGa6YvW3AWspkag3eP9748ANQCiwbukqyMI6XrKsAmNizj7kRakR/fjkJsVg8j\n\tN4GgyZpBYNQC0aXTe87YtfuiksoGDg/mrXRHyaMUhaX0F9i1rIjOJ5Ygkhrb6JIDKuSeOGp906L9p\n\tOs20fB/BEHwZG6xwIQ6IUKLF699Lcyzyhxhpc2IXg9Uq1ODc43iT7NMClQpVjoi1NQKgWJKaz0xbE\n\tTqp8AEtQ==;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=sipsolutions.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:\n\tMessage-ID:Date:Subject:Cc:To:From:Content-Type:Sender:Reply-To:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-To:Resent-Cc:\n\tResent-Message-ID:In-Reply-To:References;\n\tbh=eqPc3uM88QCGGmv/3c4rSsXzYEWAhDCBys9dvK0vOtU=; t=1778058694; x=1779268294;\n\tb=vDay48I6Jv79WF2hSP4EK6Ui/rQUwopRviO+ExjLLwSLwkWZgMDqQPeoUsnbu6oCq2FerjnIOwf\n\t0Q+IrLfFeEyD2QcxTgnQxKAeXn0rgr7vQWqEKX/Q0rqcXadZyg24LiQyD6bVqRWe4C6dQbKHWoYXA\n\tsqJPLWNFJpP/fRPfS11sYcS3rkkoaCkZU/O9uOEb/wipStRAaXE9vq0rP1ctLrLKiWIoPTmD8Laoa\n\te6bt1Osv+G2JavhyRWlDwGNtQRNR6OtUvYkgPnyI4UOKqjKT0JAe9Gjdne0R9L23xQCHeu0GIZghd\n\t44dwPmnVv4lbEYR6s670Maz7BT0t35+Nze/g==;"
        ],
        "From": "Johannes Berg <johannes@sipsolutions.net>",
        "To": "hostap@lists.infradead.org",
        "Cc": "Johannes Berg <johannes.berg@intel.com>",
        "Subject": "[PATCH] tests: ap_pmf: fix an exception string format",
        "Date": "Wed,  6 May 2026 11:11:22 +0200",
        "Message-ID": "\n <20260506111121.f6e1e25c7cf6.I3be0bd4a7c01e6a29474eb462b348b1789acc88e@changeid>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260506_101137_174565_CBBB818A ",
        "X-CRM114-Status": "GOOD (  10.66  )",
        "X-Spam-Score": "-2.1 (--)",
        "X-Spam-Report": "SpamAssassin version 4.0.2 on casper.infradead.org summary:\n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n  0.0 SPF_NONE               SPF: sender does not publish an SPF Record\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n -0.0 DMARC_PASS             DMARC pass policy",
        "X-BeenThere": "hostap@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<hostap.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/hostap/>",
        "List-Post": "<mailto:hostap@lists.infradead.org>",
        "List-Help": "<mailto:hostap-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Hostap\" <hostap-bounces@lists.infradead.org>",
        "Errors-To": "hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "From: Johannes Berg <johannes.berg@intel.com>\n\nSince I ran into this while playing with the SW crypto code,\nfix the Exception string format to use f-strings, it's broken\nas is since it's missing parentheses.\n\nSigned-off-by: Johannes Berg <johannes.berg@intel.com>\n---\n tests/hwsim/test_ap_pmf.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/tests/hwsim/test_ap_pmf.py b/tests/hwsim/test_ap_pmf.py\nindex 22ace9f9fa41..06e93d4d256d 100644\n--- a/tests/hwsim/test_ap_pmf.py\n+++ b/tests/hwsim/test_ap_pmf.py\n@@ -1406,7 +1406,7 @@ def check_mac80211_bigtk(dev, hapd):\n     replays = int(sta_key['replays'])\n     icverrors = int(sta_key['icverrors'])\n     if replays > 0 or icverrors > 0:\n-        raise Exception(\"STA reported errors: replays=%d icverrors=%d\" % replays, icverrors)\n+        raise Exception(f\"STA reported errors: replays={replays} icverrors={icverrors}\")\n \n     rx_spec = int(sta_key['rx_spec'], base=16)\n     if rx_spec < 3:\n",
    "prefixes": []
}