get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197487,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197487/?format=api",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.0/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": "<20260217-mtk-mt8189-clocks-v2-1-cd381cd05251@baylibre.com>",
    "date": "2026-02-17T23:30:08",
    "name": "[v2,1/7] clk: mediatek: use correct struct type for infrasys clocks",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "ef6f5d08acb6a69294f6202301e2cbcace562ae9",
    "submitter": {
        "id": 87228,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/87228/?format=api",
        "name": "David Lechner",
        "email": "dlechner@baylibre.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/1.0/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260217-mtk-mt8189-clocks-v2-1-cd381cd05251@baylibre.com/mbox/",
    "series": [
        {
            "id": 492497,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/492497/?format=api",
            "date": "2026-02-17T23:30:08",
            "name": "clk: mediatek: new mt8189 driver",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/492497/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197487/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 unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.a=rsa-sha256\n header.s=20230601 header.b=qd/x0Zl2;\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=none (p=none dis=none) header.from=baylibre.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 unprotected) header.d=baylibre-com.20230601.gappssmtp.com\n header.i=@baylibre-com.20230601.gappssmtp.com header.b=\"qd/x0Zl2\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=baylibre.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=dlechner@baylibre.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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFwrZ3Lk8z1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 10:31:25 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B22A883D5D;\n\tWed, 18 Feb 2026 00:31:17 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 12A3483D3D; Wed, 18 Feb 2026 00:31:16 +0100 (CET)",
            "from mail-ot1-x332.google.com (mail-ot1-x332.google.com\n [IPv6:2607:f8b0:4864:20::332])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 970AC83C72\n for <u-boot@lists.denx.de>; Wed, 18 Feb 2026 00:31:13 +0100 (CET)",
            "by mail-ot1-x332.google.com with SMTP id\n 46e09a7af769-7d18c654458so1941244a34.3\n for <u-boot@lists.denx.de>; Tue, 17 Feb 2026 15:31:13 -0800 (PST)",
            "from [127.0.1.1] ([2600:8803:e7e4:500:b8c6:5b3:8109:1f08])\n by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7d4c7288d34sm11122198a34.18.2026.02.17.15.31.11\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 17 Feb 2026 15:31:11 -0800 (PST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1771371072;\n x=1771975872;\n darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=KMjGYCYY9bPtG97Hit2lBTixy+BMK5/67t+iVUpfbIU=;\n b=qd/x0Zl2beqaYZk1fkvnNsXlgIjaKvX4V48bB6LVB4weXDegOWnBgdKXkIfwgQt8S1\n URfyUfVewyHh2HScpuHMJOqnCQXjyu9asdXdeEZQiYI1alezacEwEmhUD1JB7vkMleOD\n zB/yDakSQU7TBBQ0mNt+KFitRuwyJS22Xcgw1byNEoqw1S5oJqkbdgl/hyhL29rF1Dve\n lUyYN4t/2SKFBnwcgjp2tdOsA6JYhdVpcPmoy0oNgwMipb4wZLnGptDytV88s8VjCbOn\n erG6LMqm36mtQNnyOsLBC/V32zjgcPTeaLEaLxqSjgM7EuJaDGeX2jQ118nVKzHzVNlb\n nBhA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771371072; x=1771975872;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=KMjGYCYY9bPtG97Hit2lBTixy+BMK5/67t+iVUpfbIU=;\n b=N4lL3G8PuOWavSigX+ETp+UTzqAHX97dFLUnmwkdHRz7iDtgOapy2g//0jWMQqaRP4\n csq7OnuJhqHg96licydwS92SqvBtp/7YEdEiYBhae9xvZquL/epDCzRPr4zyL88DowBv\n Q9Wl+iBGQJ863rhj2RHZ+3ZDgi2VWlggImuP5TqjbMXFQUnQf7xJhqUwhyM2jlXlaA/h\n NeQAcIgHm9B+Wd+pGOG3U7n4+zo5mqEFH8mkVL1vfaoZAKX08CDE5KDrL0thRZri/Osf\n D4omKR7eV45y4VaZyKQix5kLiL3j62OhwThiZ67VQ96stVM2PM44Q+2OaVVAgIgXJY7w\n 02vQ==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCWxB9OtRyvtD6LF95Sqo6vRo1dJfv9u+LM9bGZ4RXJZYIkc0NwwQXKra1O4H1s5I5wCz5jf9EY=@lists.denx.de",
        "X-Gm-Message-State": "AOJu0YxpnoPXyhjyZVum5sikMwzYq2y/Z3xMelzxv/770cPEoF8L+Bsg\n vlgpULEGJ+1avo0XLtPywjeRZ9vXdozJIm85+X+h8LM1uvA4eIQ5Jz1TCDK948cd+Y8=",
        "X-Gm-Gg": "AZuq6aLtq6J4CGsD5L8HavZJy0dUD/mYRd2U6z0Dv/LuoPOy1CJnwF7bRplzqvIdbNa\n HobYOQXd0+BR6TCtx8Lv0Tc9GTkAx/G35PaZdBMfXchKCu2oF4RNKLkXmiVHEMfGImuewqElGgo\n gZg5h4t/yQplaHyG2+Ue7TBRjgFQJtU7erWEiqyFesS3sK3562gas+fmZlJi/FY5MyNAfcffQcX\n M9ZLFNOBBm8z9Rn1RAxIxY70uXpNHN8lkNX8P0bp/hZ2lDclKiWB7+YVU2dWe7W3cv4rtY7cLL2\n jfLMt7IvlTHxlkNVHklIOKGdIKf2WhBQbMVST6amUxCb0SPgU75503qA7+DUrnNi2bYxMjUpTkx\n qiKbBZnPDrJ6vPUnyfqkHxw1ZwGQYDICdZxEgdUjfDSJ0tZbsvtyMgglVB6b8h0JzoN64XpZOjc\n xhftjrLbtM8uEB5/TQhfx3kTjgoLqYabOVt9Ks",
        "X-Received": "by 2002:a05:6830:9ca:b0:7cf:d191:2a50 with SMTP id\n 46e09a7af769-7d4c4a3f6c6mr7708523a34.13.1771371072328;\n Tue, 17 Feb 2026 15:31:12 -0800 (PST)",
        "From": "David Lechner <dlechner@baylibre.com>",
        "Date": "Tue, 17 Feb 2026 17:30:08 -0600",
        "Subject": "[PATCH v2 1/7] clk: mediatek: use correct struct type for infrasys\n clocks",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260217-mtk-mt8189-clocks-v2-1-cd381cd05251@baylibre.com>",
        "References": "<20260217-mtk-mt8189-clocks-v2-0-cd381cd05251@baylibre.com>",
        "In-Reply-To": "<20260217-mtk-mt8189-clocks-v2-0-cd381cd05251@baylibre.com>",
        "To": "Lukasz Majewski <lukma@denx.de>, Ryder Lee <ryder.lee@mediatek.com>,\n Weijie Gao <weijie.gao@mediatek.com>,\n Chunfeng Yun <chunfeng.yun@mediatek.com>,\n Igor Belwon <igor.belwon@mentallysanemainliners.org>,\n GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,\n Tom Rini <trini@konsulko.com>",
        "Cc": "Julien Stephan <jstephan@baylibre.com>, u-boot@lists.denx.de,\n David Lechner <dlechner@baylibre.com>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1248; i=dlechner@baylibre.com;\n h=from:subject:message-id;\n bh=3SvhRcBSx6wfg31/2N2Df6aq5Y7l5XCklhamn77ImMQ=;\n b=owEBhAF7/pANAwAKAcLMIAH/AY/AAcsmYgBplPoQt16YDC2pjfXZ58riCbzrOMlrGE+DXC9VL\n abHh++GkTmJAUoEAAEKADQWIQTsGNmeYg6D1pzYaJjCzCAB/wGPwAUCaZT6EBYcZGxlY2huZXJA\n YmF5bGlicmUuY29tAAoJEMLMIAH/AY/ALXEH/1I3+PpEt7ruBKRG40SIpQYAyd2MiaP52LLKW6q\n j3HhWz2jCKiaY1ppD32xDCtn/ilKnRMlpxsMJ222w8I3Kcj6MgCgmgbiaoQdhPlLpGB6B2RqJgU\n v4wqKqM0JOcaUDWlEOS1Xc3dO77Z+QooKeew2EHK/vEj10C4HdopO4xIoxpPI9Ivzvr5FbRRzT9\n 2pf9eySTVr8QG7M0V/dglKFyTSEYZHzEQ/aXWkvM2Wb0WRWpHf3EGz3G7IOcIEMrGKQhdUq5L4g\n JerbmZ8c35lF5yIKcsMgt3kpxVgNuQg7t35lnSVYtjNThfMK8FYVS7raHUQUCgWpmiIGdvMRq2a\n jCHI=",
        "X-Developer-Key": "i=dlechner@baylibre.com; a=openpgp;\n fpr=8A73D82A6A1F509907F373881F8AF88C82F77C03",
        "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": "Fix the private data type struct type in a couple of infrasys clock\nfunctions.\n\nstruct mtk_cg_priv is a superset of struct mtk_clk_priv and has the same\nlayout at the beginning so there was no compile errors or runtime bugs.\nThis could only be found by inspecting the code.\n\nSigned-off-by: David Lechner <dlechner@baylibre.com>\n---\n drivers/clk/mediatek/clk-mtk.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/clk/mediatek/clk-mtk.c b/drivers/clk/mediatek/clk-mtk.c\nindex b4de38719e1..b3f05bf5a21 100644\n--- a/drivers/clk/mediatek/clk-mtk.c\n+++ b/drivers/clk/mediatek/clk-mtk.c\n@@ -933,7 +933,7 @@ static const int mtk_infrasys_of_xlate(struct clk *clk,\n \n static int mtk_clk_infrasys_enable(struct clk *clk)\n {\n-\tstruct mtk_cg_priv *priv = dev_get_priv(clk->dev);\n+\tstruct mtk_clk_priv *priv = dev_get_priv(clk->dev);\n \tconst struct mtk_gate *gate;\n \n \t/* MUX handling */\n@@ -946,7 +946,7 @@ static int mtk_clk_infrasys_enable(struct clk *clk)\n \n static int mtk_clk_infrasys_disable(struct clk *clk)\n {\n-\tstruct mtk_cg_priv *priv = dev_get_priv(clk->dev);\n+\tstruct mtk_clk_priv *priv = dev_get_priv(clk->dev);\n \tconst struct mtk_gate *gate;\n \n \t/* MUX handling */\n",
    "prefixes": [
        "v2",
        "1/7"
    ]
}