get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2230162,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2230162/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260429121816.1026326-2-mwalle@kernel.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": "<20260429121816.1026326-2-mwalle@kernel.org>",
    "date": "2026-04-29T12:17:15",
    "name": "[01/10] powerpc: fix call to cpu_init_r",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "3cb3c6ca8ef8364ef74e790e9c805baa29b46b40",
    "submitter": {
        "id": 86646,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/86646/?format=api",
        "name": "Michael Walle",
        "email": "mwalle@kernel.org"
    },
    "delegate": {
        "id": 55230,
        "url": "http://patchwork.ozlabs.org/api/1.1/users/55230/?format=api",
        "username": "freenix",
        "first_name": "Peng",
        "last_name": "Fan",
        "email": "van.freenix@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260429121816.1026326-2-mwalle@kernel.org/mbox/",
    "series": [
        {
            "id": 502047,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502047/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=502047",
            "date": "2026-04-29T12:17:14",
            "name": "Generic powerpc fixes and NXP board cleanup",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502047/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2230162/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2230162/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=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=B92klnHb;\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=pass (p=quarantine dis=none) header.from=kernel.org",
            "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=kernel.org header.i=@kernel.org header.b=\"B92klnHb\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=kernel.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=mwalle@kernel.org"
        ],
        "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 4g5GYc00Nkz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 22:18:43 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 96B608484F;\n\tWed, 29 Apr 2026 14:18:37 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 47BFD84847; Wed, 29 Apr 2026 14:18:36 +0200 (CEST)",
            "from tor.source.kernel.org (tor.source.kernel.org\n [IPv6:2600:3c04:e001:324:0:1991:8:25])\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 5A55E84841\n for <u-boot@lists.denx.de>; Wed, 29 Apr 2026 14:18:34 +0200 (CEST)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by tor.source.kernel.org (Postfix) with ESMTP id 57DD860128;\n Wed, 29 Apr 2026 12:18:33 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 36364C19425;\n Wed, 29 Apr 2026 12:18:29 +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.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n 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/simple; d=kernel.org;\n s=k20201202; t=1777465113;\n bh=lTnHaOQcsWOnAuKtW8Io4vrC0JDZOZDoom1Y1F/UPeY=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=B92klnHbNwfW01zIdg0BRZOKuyzvf8cGEgdbb210aWJ6ao2gIEFaux9Pl2IRLFiDf\n tEbQfmDiCpbERSMilJrj+bd8MuJW4vNDhbj81tS1Coes+0QXhjIXDwDNGR6q+7fQIz\n EuhCmkFVsITIocWqJ726glz617RGPIULY9P2WFravVhcOsu02S0KVVfI8W8Z04eHYw\n JN803CJ48bz3lzUPlaS52XgFX5GKkM61y5xTeFoh02hZqpen9i+Bu5iIm7SGTrpYCZ\n OzFZ8B/QXFkymbiJL/900Q2jRVBeVGMLGCdXF8GCfWlvH1XQeZKwa0ONkL3LaXF3kr\n T6J49CweMRjYQ==",
        "From": "Michael Walle <mwalle@kernel.org>",
        "To": "=?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org>,\n Tom Rini <trini@konsulko.com>, Pramod Kumar <pramod.kumar_1@nxp.com>,\n Vladimir Oltean <olteanv@gmail.com>, Alison Wang <alison.wang@nxp.com>,\n Tang Yuantian <andy.tang@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com>,\n Priyanka Jain <priyanka.jain@nxp.com>, Wasim Khan <wasim.khan@nxp.com>,\n Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>,\n TsiChung Liew <Tsi-Chung.Liew@nxp.com>, Stefano Babic <sbabic@nabladev.com>,\n Fabio Estevam <festevam@gmail.com>,\n \"NXP i . MX U-Boot Team\" <uboot-imx@nxp.com>, Peng Fan <peng.fan@nxp.com>,\n Shengzhou Liu <Shengzhou.Liu@nxp.com>",
        "Cc": "Tomas Alvarez Vanoli <tomas.alvarez-vanoli@hitachienergy.com>,\n Jerome Forissier <jerome.forissier@arm.com>, u-boot@lists.denx.de,\n Michael Walle <mwalle@kernel.org>",
        "Subject": "[PATCH 01/10] powerpc: fix call to cpu_init_r",
        "Date": "Wed, 29 Apr 2026 14:17:15 +0200",
        "Message-ID": "<20260429121816.1026326-2-mwalle@kernel.org>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260429121816.1026326-1-mwalle@kernel.org>",
        "References": "<20260429121816.1026326-1-mwalle@kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Commit 6c171f7a184c (\"common: board: make initcalls static\") broke the\ncall to cpu_init_r. That is because PPC is already defined to 1, see:\n\n  powerpc-linux-gnu-gcc -dM -E - < /dev/null\n\nThis will conflict with the CONFIG_IS_ENABLED(PPC). Change it to\nIS_ENABLED(CONFIG_PPC).\n\nFixes: 6c171f7a184c (\"common: board: make initcalls static\")\nSigned-off-by: Michael Walle <mwalle@kernel.org>\n---\n common/board_r.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/common/board_r.c b/common/board_r.c\nindex 5d37345ca09..9b6ba9d8e56 100644\n--- a/common/board_r.c\n+++ b/common/board_r.c\n@@ -687,7 +687,7 @@ static void initcall_run_r(void)\n \tINITCALL(initr_flash);\n #endif\n \tWATCHDOG_RESET();\n-#if CONFIG_IS_ENABLED(PPC) || CONFIG_IS_ENABLED(M68K) || CONFIG_IS_ENABLED(X86)\n+#if IS_ENABLED(CONFIG_PPC) || CONFIG_IS_ENABLED(M68K) || CONFIG_IS_ENABLED(X86)\n \t/* initialize higher level parts of CPU like time base and timers */\n \tINITCALL(cpu_init_r);\n #endif\n",
    "prefixes": [
        "01/10"
    ]
}