get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230155,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230155/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260429114208.941011-1-holger.brunck@hitachienergy.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"
    },
    "msgid": "<20260429114208.941011-1-holger.brunck@hitachienergy.com>",
    "date": "2026-04-29T11:42:07",
    "name": "[1/2] net: wan: fsl_ucc_hdlc: fix uhdlc_memclean",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "89caaf920ceeccc352c67de9a5a57c571bacce3e",
    "submitter": {
        "id": 82682,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/82682/?format=api",
        "name": "Holger Brunck",
        "email": "holger.brunck@hitachienergy.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260429114208.941011-1-holger.brunck@hitachienergy.com/mbox/",
    "series": [
        {
            "id": 502042,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502042/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502042",
            "date": "2026-04-29T11:42:08",
            "name": "[1/2] net: wan: fsl_ucc_hdlc: fix uhdlc_memclean",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502042/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230155/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230155/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-20275-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=hitachienergy.com header.i=@hitachienergy.com\n header.a=rsa-sha256 header.s=duo-1630306886989-947ac67a header.b=ZGTD+XNz;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=outbound.mailhop.org header.i=@outbound.mailhop.org\n header.a=rsa-sha256 header.s=dkim-high header.b=gJV5pOTh;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20275-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=18.158.144.38",
            "lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=hitachienergy.com",
            "lists.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=hitachienergy.com header.i=@hitachienergy.com\n header.a=rsa-sha256 header.s=duo-1630306886989-947ac67a header.b=ZGTD+XNz;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=outbound.mailhop.org header.i=@outbound.mailhop.org\n header.a=rsa-sha256 header.s=dkim-high header.b=gJV5pOTh;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=hitachienergy.com\n (client-ip=18.158.144.38; helo=out-ip0052.fra.mailhop.org;\n envelope-from=holger.brunck@hitachienergy.com; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g5GDQ04dZz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 22:03:50 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g5GDL14T4z2ytV;\n\tWed, 29 Apr 2026 22:03:46 +1000 (AEST)",
            "from out-ip0052.fra.mailhop.org (out-ip0052.fra.mailhop.org\n [18.158.144.38])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4g5GDF05qkz2ySf\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 29 Apr 2026 22:03:40 +1000 (AEST)",
            "from HPG0000000548.corp.hitachi-powergrids.com (unknown\n [20.62.140.138])\n\tby outbound2.eu.mailhop.org (Halon) with ESMTPSA\n\tid 7752593b-43c0-11f1-8259-bda8640e0fbb;\n\tWed, 29 Apr 2026 11:42:16 +0000 (UTC)",
            "from gitsiv.hitachienergy.com (unknown [10.54.139.14])\n\tby HPG0000000548.corp.hitachi-powergrids.com (Postfix) with ESMTP id\n A9D4E1614;\n\tWed, 29 Apr 2026 11:42:13 +0000 (UTC)",
            "from chbrn3-p-dev015.keymile.net (chbrn3-p-dev015.keymile.net\n [172.31.41.201])\n\tby gitsiv.hitachienergy.com (Postfix) with ESMTP id 3563E60B7D47;\n\tWed, 29 Apr 2026 13:42:13 +0200 (CEST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777464225;\n\tcv=none;\n b=Fx1NoexrVgCldxOSVi7Ph+PdzJF36J8yIvB2cnARqQWrzkNLWGpNZdwUtgW3YLKDl72zhaYuBtQarD09gTGSZJLSlTfF012h4nKNVcEKBMZC1I26alhe0VbD00IuWD5mzIQz5XjhdwIbyFT33dNcHrEn31545xXvX7Ujzed6YvlMilPNhXOFZ2Xk66CW7PiIJWgV9diodkGbwpNgjxjiYtD+1swp5v9l1Idjf8pKnGz1NOukCWKdzXRTLKZAWTwaoFsfE7lJyLUCIq0ymn2e9vm3OyScpewPXSOw7c9hpfLJz6t2dMCJwYZrub8gHhWUvOd8Yo0TUU2qXQd5WrFjlA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777464225; c=relaxed/relaxed;\n\tbh=dTVmkDqISXk7x13mQynSnLZ/iRnnoPVhJt0i9GNoi3E=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=bbWLf5+BzNI4YgKt6rhYIq2sWylJSEyKotjHcrVIPuyi0H6Xe1pZRvFZULfGciuzjJoHxlef0I2K7VOkBT6bNgY9jX3Q5nGaYOasVtz1IzOJSX/uR3RUI8AcilYPoI9aN5Y1KGtUm6N2nDN1nJn/wkdegpIahwaJ6mwunOkSxmK0FvMmCzgm1ymSKKUxm7otxvtwjCdE5xIHiERDwoxUrDl8lM/xYxk3j6xgXOFrd4Yv+hWD8jc9cwUUxumK4BByjdB0Iwf5JufPajAdjct/cyni6xCjFZSg9co3H3QP0zvTwdNqWYNE+67mrd9lgzrM01N3WTJfC29rVv8z75o+1w==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=hitachienergy.com;\n dkim=pass (1024-bit key;\n unprotected) header.d=hitachienergy.com header.i=@hitachienergy.com\n header.a=rsa-sha256 header.s=duo-1630306886989-947ac67a header.b=ZGTD+XNz;\n dkim=pass (2048-bit key;\n unprotected) header.d=outbound.mailhop.org header.i=@outbound.mailhop.org\n header.a=rsa-sha256 header.s=dkim-high header.b=gJV5pOTh; dkim-atps=neutral;\n spf=pass (client-ip=18.158.144.38; helo=out-ip0052.fra.mailhop.org;\n envelope-from=holger.brunck@hitachienergy.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=hitachienergy.com",
        "X-Greylist": "delayed 1209 seconds by postgrey-1.37 at boromir;\n Wed, 29 Apr 2026 22:03:41 AEST",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=hitachienergy.com; s=duo-1630306886989-947ac67a;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc:to:from:\n\t cfbl-address:cfbl-feedback-id:from;\n\tbh=dTVmkDqISXk7x13mQynSnLZ/iRnnoPVhJt0i9GNoi3E=;\n\tb=ZGTD+XNzAA0enB8AMBQIHtnH04p0HXB5bRl7VsRwfesHyydsfWitH9d2AFW2dGv5tsYpnyABm6ubT\n\t MOFCSpggCiVVT5iuSbKyVO6ylmqdi4ntRPLwiDDzHPvADI794WZF6kk16Bb9zrlgNd6i2a+LAMuySW\n\t yRmSKgJ+QpLuWC0Q=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=outbound.mailhop.org; s=dkim-high;\n\th=content-transfer-encoding:mime-version:message-id:date:subject:cc:to:from:\n\t cfbl-address:cfbl-feedback-id:from;\n\tbh=dTVmkDqISXk7x13mQynSnLZ/iRnnoPVhJt0i9GNoi3E=;\n\tb=gJV5pOThWdVKrQZ0Qj6zJ26354/jUJ/c7mdArCYGLiJY5yiPUtR/KaWaR4ussEsYc2B7jANs7x8Lr\n\t 7e74M/uRR14h4iCJz1rajHslcxw4No51RPgiCR1A0bIfKq/119xyKczaH7UrDhdQ8m7Swb3jRMerPs\n\t fhBTZjsSJAHXPBkcouL+RVqXLmqWE36i3E0J/W3GwJP42GaHFtvfywD3rUrJqOhynblU6u3LoEMB3k\n\t yoqr8TqfgSUJToibLp+52ymriHsj4yPaa8Z9xLDwjxr5LH4bSNNp1qiF+HWe+JK63ZLYJlxHQs77Ev\n\t TXuTrr1g2oiyCLNGKEFx8ji7qkvyD8A=="
        ],
        "X-Originating-IP": "20.62.140.138",
        "X-MHO-RoutePath": "aGVkY3NtdHA=",
        "X-MHO-User": "7752593b-43c0-11f1-8259-bda8640e0fbb",
        "X-Report-Abuse-To": "\n https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information",
        "X-Mail-Handler": "DuoCircle Outbound SMTP",
        "CFBL-Feedback-ID": "7752593b-43c0-11f1-8259-bda8640e0fbb:5",
        "CFBL-Address": "prvs=057955d709=abuse@outbound.mailhop.org; report=arf",
        "From": "Holger Brunck <holger.brunck@hitachienergy.com>",
        "To": "netdev@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org",
        "Cc": "andrew+netdev@lunn.ch,\n\tchleroy@kernel.org,\n\tqiang.zhao@nxp.com,\n\tHolger Brunck <holger.brunck@hitachienergy.com>",
        "Subject": "[PATCH 1/2] net: wan: fsl_ucc_hdlc: fix uhdlc_memclean",
        "Date": "Wed, 29 Apr 2026 13:42:07 +0200",
        "Message-ID": "<20260429114208.941011-1-holger.brunck@hitachienergy.com>",
        "X-Mailer": "git-send-email 2.52.0.120.gb31ab939fe",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-0.2 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "Unmapping of uf_regs is done from ucc_fast_free and doesn't need to be\ndone explicitly. If already unmapped ucc_fast_free will crash.\n\nSigned-off-by: Holger Brunck <holger.brunck@hitachienergy.com>\n---\n drivers/net/wan/fsl_ucc_hdlc.c | 5 -----\n 1 file changed, 5 deletions(-)",
    "diff": "diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c\nindex 3bd57527b1be..8155e92af14e 100644\n--- a/drivers/net/wan/fsl_ucc_hdlc.c\n+++ b/drivers/net/wan/fsl_ucc_hdlc.c\n@@ -773,11 +773,6 @@ static void uhdlc_memclean(struct ucc_hdlc_private *priv)\n \tkfree(priv->tx_skbuff);\n \tpriv->tx_skbuff = NULL;\n \n-\tif (priv->uf_regs) {\n-\t\tiounmap(priv->uf_regs);\n-\t\tpriv->uf_regs = NULL;\n-\t}\n-\n \tif (priv->uccf) {\n \t\tucc_fast_free(priv->uccf);\n \t\tpriv->uccf = NULL;\n",
    "prefixes": [
        "1/2"
    ]
}