get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2140779,
    "url": "http://patchwork.ozlabs.org/api/patches/2140779/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250923071315.276114-2-root@infi.wang/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250923071315.276114-2-root@infi.wang>",
    "list_archive_url": null,
    "date": "2025-09-23T07:12:58",
    "name": "[RESEND,1/4] net: phy: aquantia: switch to use phy_get_ofnode()",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1d9ea3aeffefc13ef5fe77a642b6cd66f08cc8e6",
    "submitter": {
        "id": 91745,
        "url": "http://patchwork.ozlabs.org/api/people/91745/?format=api",
        "name": "Beiyan Yun",
        "email": "root@infi.wang"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250923071315.276114-2-root@infi.wang/mbox/",
    "series": [
        {
            "id": 474795,
            "url": "http://patchwork.ozlabs.org/api/series/474795/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=474795",
            "date": "2025-09-23T07:12:57",
            "name": "net: phy: aquantia: Switch to generic firmware loader",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/474795/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2140779/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2140779/checks/",
    "tags": {},
    "related": [],
    "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=infi.wang header.i=@infi.wang header.a=rsa-sha256\n header.s=sig1 header.b=mV+ZGABs;\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=none (p=none dis=none) header.from=infi.wang",
            "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=infi.wang header.i=@infi.wang header.b=\"mV+ZGABs\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=infi.wang",
            "phobos.denx.de; spf=pass smtp.mailfrom=root@infi.wang"
        ],
        "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 4cWB6s3nXNz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 23 Sep 2025 17:14:13 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 50EA1833ED;\n\tTue, 23 Sep 2025 09:14:11 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 9855D83448; Tue, 23 Sep 2025 09:14:10 +0200 (CEST)",
            "from outbound.st.icloud.com\n (p-east2-cluster6-host6-snip4-4.eps.apple.com [57.103.76.225])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id A71968004F\n for <u-boot@lists.denx.de>; Tue, 23 Sep 2025 09:14:08 +0200 (CEST)",
            "from outbound.st.icloud.com (unknown [127.0.0.2])\n by p00-icloudmta-asmtp-us-east-1a-60-percent-10 (Postfix) with ESMTPS id\n E1A9C1800610; Tue, 23 Sep 2025 07:14:06 +0000 (UTC)",
            "from debian.. (st-asmtp-me-k8s.p00.prod.me.com [17.42.251.67])\n by p00-icloudmta-asmtp-us-east-1a-60-percent-10 (Postfix) with ESMTPSA id\n D62E31800609; Tue, 23 Sep 2025 07:14:04 +0000 (UTC)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "Dkim-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=infi.wang; s=sig1;\n bh=BpDX2e1PVEcCdTa1AqPjZ5i/MJqKWv7OfdFrW0cOuqg=;\n h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme;\n b=mV+ZGABsLYUNE1h1+btXz230rT4Vsdsb5HL7Y9QBTcPSPlxI7lDSg6d/S2GKsrvC1WXPaeJXCbIvqAKaOdl4i+YQVmavwfbsZhTP/F6+SwI/YY7asshDZYvFZtZoU3CPpjkGvD7DGQhU3WesCOq/iaUoS3UYj/j/8ijFA4/zlIq6M7ROJwwMX/KQnD/RxwLVU/dFoYCwWfHJ3+89koP+mh+pfW5FBkcK9YXKUeeq7bHabWn8ViZXXeWoY3mlE5dMu5rvwYSDS7KDBoBWwi4haz1OoTN0CWHEYPcBPHOcUiyPYjJsec7l5jT4IrL3RtHs4i4OBKLvY0kKVy2y2KUOpA==",
        "mail-alias-created-date": "1549370554000",
        "From": "Beiyan Yun <root@infi.wang>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Beiyan Yun <root@infi.wang>,\n Jerome Forissier <jerome.forissier@linaro.org>,\n Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>,\n Siddharth Vadapalli <s-vadapalli@ti.com>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH RESEND 1/4] net: phy: aquantia: switch to use phy_get_ofnode()",
        "Date": "Tue, 23 Sep 2025 15:12:58 +0800",
        "Message-ID": "<20250923071315.276114-2-root@infi.wang>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20250923071315.276114-1-root@infi.wang>",
        "References": "<20250923071315.276114-1-root@infi.wang>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Proofpoint-GUID": "ahfM3cNWOvY5wZI_5u-4TwUVQlNowSrv",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjUwOTIzMDA2NiBTYWx0ZWRfX3mnhS+aKtexq\n qoYTX4zEaB0kO823+4BBdc/MRNiiN7MJhz2RBC4QYSGhC6vLfg9SnwrXSbE6o2rzlPg4SkO6F13\n g1Ugf/G66rIDuY0v57GFnCkqnbvcHylz9/OKmd8OaHEz/h9qkTylPUDQ80y2Rmrjuk3uyZ91nTZ\n akGEvciz0e073H+KVHioyjJXfv1nAUviRuGBVd2vIB9I6Yg6HAQo0PACNtC2zUSma+T5wakMBAn\n 2U7BjonMPmmh2gBo3QLTCC+soPgzmoW4tWDy2uuJHIYQAFeG+fON7CcfJRHn96o2VwyDBfiB8=",
        "X-Proofpoint-ORIG-GUID": "ahfM3cNWOvY5wZI_5u-4TwUVQlNowSrv",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40\n definitions=2025-09-23_01,2025-09-22_05,2025-03-28_01",
        "X-Proofpoint-Spam-Details": "rule=notspam policy=default score=0 spamscore=0\n suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 malwarescore=0\n mlxlogscore=623 clxscore=1030 phishscore=0 classifier=spam adjust=0\n reason=mlx scancount=1 engine=8.22.0-2506270000 definitions=main-2509230066",
        "X-JNJ": "\n AAAAAAABDdTV/4gYjzqSRg+3ECaMnhtFPQQRoY8qqE50UKaPfkQPytQT55XzploHn13HRdOPxrOFHc6EPWd6pmaLtpNTVqe6kCF9FhWS+cQTW23lgeLhjUXoZxNX5BMWeLM5RusI0hvm8gNqfuTLYR1AfhtxT+3tIQw8Ql2NeDgBYv24vJRZuV6bNsfrI4gqLG3eehCSAvIHOiXsgoIn572m/EDrUxoacztPa0lk6SSaoLFPML/Rynslv3eZXfd+onEWjJhyImcQvu79a0+7RnHY42y9d+uOubamajZPT31/3lsQpw8thiWBvOveLk4yn5dVlsMbflVnU4Vt6nYxcPkY09K9K/Qr5A+HfOVBLCDt2DZvn2p0J28ZMB4e0aHOHCKtqSZwEVi7DTdyWTO6L3jqnv7G/0cxvGNVt+IIug60oxNp1MIXLD5SANMLo3aQAv/fj/lAMBbLjGT6osCoU37DVpev2DW5yivw0R6SEH8GFE1DtELf1radqinODVhQ6vAuq1h2jhB+laFdyIBujAMdIKxXxa+v6ByR8SF7/f3sUCa36O1aRjhXcO9hbqtIcVog6m9MsnhQidKoMcu23G6YYwfUqlAK/EjM+Fj5r4fvth7eMs+ULLnzudOMHg==",
        "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": "Use PHY API phy_get_ofnode() helper to get PHY DT node.\n\nSigned-off-by: Beiyan Yun <root@infi.wang>\n---\n\n drivers/net/phy/aquantia.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c\nindex f63a13824ca..903fcd667f6 100644\n--- a/drivers/net/phy/aquantia.c\n+++ b/drivers/net/phy/aquantia.c\n@@ -338,7 +338,7 @@ static int aquantia_set_proto(struct phy_device *phydev,\n \n static int aquantia_dts_config(struct phy_device *phydev)\n {\n-\tofnode node = phydev->node;\n+\tofnode node = phy_get_ofnode(phydev);\n \tu32 prop;\n \tu16 reg;\n \n",
    "prefixes": [
        "RESEND",
        "1/4"
    ]
}