get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231637,
    "url": "http://patchwork.ozlabs.org/api/patches/2231637/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260501-ten64-add-usb5744-v3-1-234c5b2f8c6f@traverse.com.au/",
    "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": "<20260501-ten64-add-usb5744-v3-1-234c5b2f8c6f@traverse.com.au>",
    "list_archive_url": null,
    "date": "2026-05-01T01:36:02",
    "name": "[v3,1/8] arm: gpio: include integer type definitions for gpio.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "de04b6a2f2431920cd17ac48648e8b36daebac49",
    "submitter": {
        "id": 72945,
        "url": "http://patchwork.ozlabs.org/api/people/72945/?format=api",
        "name": "Mathew McBride",
        "email": "matt@traverse.com.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260501-ten64-add-usb5744-v3-1-234c5b2f8c6f@traverse.com.au/mbox/",
    "series": [
        {
            "id": 502413,
            "url": "http://patchwork.ozlabs.org/api/series/502413/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=502413",
            "date": "2026-05-01T01:36:01",
            "name": "board: ten64: add USB Hub (USB5744) management support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/502413/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231637/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231637/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=traverse.com.au header.i=@traverse.com.au\n header.a=rsa-sha256 header.s=fm1 header.b=aOTfToTm;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.a=rsa-sha256 header.s=fm2 header.b=hTyqYt4r;\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=traverse.com.au",
            "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=traverse.com.au header.i=@traverse.com.au\n header.b=\"aOTfToTm\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=messagingengine.com header.i=@messagingengine.com\n header.b=\"hTyqYt4r\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=traverse.com.au",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=matt@traverse.com.au"
        ],
        "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 4g6DCf1p8Lz1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 11:36:30 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 02C9484255;\n\tFri,  1 May 2026 03:36:19 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 1A4AF84198; Fri,  1 May 2026 03:36:17 +0200 (CEST)",
            "from fhigh-a7-smtp.messagingengine.com\n (fhigh-a7-smtp.messagingengine.com [103.168.172.158])\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 E0405839D5\n for <u-boot@lists.denx.de>; Fri,  1 May 2026 03:36:14 +0200 (CEST)",
            "from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])\n by mailfhigh.phl.internal (Postfix) with ESMTP id 2B87F1400159;\n Thu, 30 Apr 2026 21:36:14 -0400 (EDT)",
            "from phl-frontend-04 ([10.202.2.163])\n by phl-compute-05.internal (MEProxy); Thu, 30 Apr 2026 21:36:14 -0400",
            "by mail.messagingengine.com (Postfix) with ESMTPA; Thu,\n 30 Apr 2026 21:36:10 -0400 (EDT)"
        ],
        "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 SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au;\n h=cc:cc:content-transfer-encoding:content-type:content-type\n :date:date:from:from:in-reply-to:in-reply-to:message-id\n :mime-version:references:reply-to:subject:subject:to:to; s=fm1;\n t=1777599374; x=1777685774; bh=uJgmXWrdKWpG8LTIPLqqQvsymZd4kayG\n Rjbs5KSqJIU=; b=aOTfToTmbMQYqWLvlgtIedTv5bbEgLVMsTeyvOgYEYRenrcR\n AYZuCCVNo7OeY4jEANbngemmhW7SmHNlPhI1Go9wuBRti1Dn3f2f42fQTDZsOhQl\n +i85zcZiHM0paWmveW/eY4HJcqs2r9VoTUgm6U3EBkAHzBRc7aYFvoPb17lTVR7k\n oo4Djk8gt9hDcb5FjSwFMlVnHqRavX9rmxByR8HxKi6pOqJblXP5i9D9OoBdQGih\n vonzLOdkb3OvGxYq+UmWI9hUY0WQyqDIPvehrSQW0l8oD937+HQtJWlyasdWXHDX\n 2SOC8irxwYpxe81enFw2VoiXlpX/hT1iJ3GNSw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:cc:content-transfer-encoding\n :content-type:content-type:date:date:feedback-id:feedback-id\n :from:from:in-reply-to:in-reply-to:message-id:mime-version\n :references:reply-to:subject:subject:to:to:x-me-proxy\n :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1777599374; x=\n 1777685774; bh=uJgmXWrdKWpG8LTIPLqqQvsymZd4kayGRjbs5KSqJIU=; b=h\n TyqYt4rHrLDTbfESI48amItRPGovDeK/HiRdyC4u/39epq0t1lKUcWG3h90mdCEV\n ow8NPJqaJIiZCsVDO5GTKPKHv8vslox0lEGaBor8Qw3FfShc58mECTeUAavG95Li\n JeUMXvLDxLV8y52kvVNLD31ngibL0DVDPC2ubUii0C8sA5bMH4pNwb8PtKl/ZP4j\n Vpm9LfBYrgMI41b0Pi/xO/VO39esP66CQ7ykbpbkw7T8Lnd95RpqSWD2hjKnSnZZ\n OM/PsiCA6osGn3qYnGlz8O+o3T1pfsrsHlfxGrgxd7uLzORKM1OLKvDzjsBFgCqN\n MrgnXhurL/bqO/MwL55Hg=="
        ],
        "X-ME-Sender": "<xms:jQP0aU_Ia6i6v6bozJrSKqJSlMiEovcHlEyFIdxqousvEfXQ6PpC8w>\n <xme:jQP0afxEJOcIrnDKZ5Y17NsnU02vXBCjAc6X9z2m8ufXE4BXZqoG3stZacDXLlWmz\n G0Ivjy1htmTMoKmIk98xBySJZdbwxvw-FyStiyClT8RfDAQtrAoPT3E>",
        "X-ME-Received": "\n <xmr:jQP0aUqf2XwlGqjn7Cbw2JaFv_jqw64SJDL--JVpSCg055C85W_TcwMLdPCuLMBYXr18evGMSd43_Qf_UPTPFObTkfpk8z9-71nrNKLHNG24uNSNnZR8SmGk>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdekkeeltdcutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr\n ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug\n hrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomhepofgrthhhvgif\n ucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtf\n frrghtthgvrhhnpeeujeffheejgeegudegiefggfegtddugfeitdeuueffudejteejheek\n ieeuteeuvdenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsthgvrhfuih\n iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrthhtsehtrhgrvhgvrhhsvgdr\n tghomhdrrghupdhnsggprhgtphhtthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtg\n hpthhtohepmhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghupdhrtghpthhtoheplhhu\n khgrshiirdgtiigvtghhohifshhkihesthhhrghumhgrthgvtgdrtghomhdprhgtphhtth\n hopehsjhhgsegthhhrohhmihhumhdrohhrghdprhgtphhtthhopehuqdgsohhotheslhhi\n shhtshdruggvnhigrdguvgdprhgtphhtthhopehmihgthhgrlhdrshhimhgvkhesrghmug\n drtghomhdprhgtphhtthhopehmrghrvghkrdhvrghsuhhtsehmrghilhgsohigrdhorhhg\n pdhrtghpthhtohepphgrughmrghrrghordgsvghgrghrihesrghmugdrtghomhdprhgtph\n htthhopehpvghnghdrfhgrnhesnhigphdrtghomhdprhgtphhtthhopehquhgvnhhtihhn\n rdhstghhuhhliiestghhvghrrhihrdguvg",
        "X-ME-Proxy": "<xmx:jQP0aQrG_4r1Lg64CCBIP15WNZNal7nxDY8TfaIrXG7qMDgSnuZn-g>\n <xmx:jQP0aUC3zMs5a4EajMKZ4rnPUmoMRWX9rygYKIH-0JVTp1sYY0DUHQ>\n <xmx:jQP0aeuWP-TfBlyEfi8vXK_rmQ-PakhgFUnnK0DbRRBtkBE9lLli6w>\n <xmx:jQP0aTImycTX122sXuubfRuf9xBsogss41PkZGubfYLe1_LiBkNKdg>\n <xmx:jgP0aWh0y6mm6wnaWYhcDLm-aPDqZTxKQSr-8oPt2T6nrCHIWUzzessy>",
        "Feedback-ID": "i426947f3:Fastmail",
        "From": "Mathew McBride <matt@traverse.com.au>",
        "Date": "Fri, 01 May 2026 11:36:02 +1000",
        "Subject": "[PATCH v3 1/8] arm: gpio: include integer type definitions for gpio.h",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260501-ten64-add-usb5744-v3-1-234c5b2f8c6f@traverse.com.au>",
        "References": "<20260501-ten64-add-usb5744-v3-0-234c5b2f8c6f@traverse.com.au>",
        "In-Reply-To": "<20260501-ten64-add-usb5744-v3-0-234c5b2f8c6f@traverse.com.au>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Tom Rini <trini@konsulko.com>,\n Lukasz Czechowski <lukasz.czechowski@thaumatec.com>,\n Quentin Schulz <quentin.schulz@cherry.de>,\n Michal Simek <michal.simek@amd.com>, Marek Vasut <marek.vasut@mailbox.org>,\n Padmarao Begari <padmarao.begari@amd.com>, Peng Fan <peng.fan@nxp.com>,\n Simon Glass <sjg@chromium.org>, Mathew McBride <matt@traverse.com.au>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777599366; l=1476;\n i=matt@traverse.com.au; s=20260115; h=from:subject:message-id;\n bh=fRF09GWj7CgE6ch9WIhaqpq2ZKyD0FZVPLrbS0Z/ynE=;\n b=Uhg1AvPiZgRvp2au3SpiC0KATBQEeWkAL13OY6Io3YUrxYxUEnq932+8BdzWUROUD6UojiJeG\n zG3yOZy8CcRA04jhDgjGMNgKY14sfs958s3sRcYoZFB0ZjOpJmKT31F",
        "X-Developer-Key": "i=matt@traverse.com.au; a=ed25519;\n pk=SM+aGm9Y2fPJ2prfH/b5lab73fTBrKL5UsJwdzv7Pbg=",
        "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": "Both consumers and sub-arch specific versions of gpio.h\nmay reference stdint or other non-C90 type definitions.\n\nEnsure the common ones are available by including linux/types.h\nbefore any other headers.\n\nThis issue came to light when the usb onboard hub driver\nwas enabled for ten64_tfa_defconfig:\n\nIn file included from ./arch/arm/include/asm/gpio.h:2,\n\t\t from common/usb_onboard_hub.c:10:\n./arch/arm/include/asm/arch/gpio.h:17:9: error: unknown type name 'ulong'\n   17 |         ulong addr;\n./arch/arm/include/asm/arch/gpio.h:18:9: error: unknown type name 'ulong'\n   18 |         ulong size;\n./arch/arm/include/asm/arch/gpio.h:19:9: error: unknown type name 'uint'\n   19 |         uint ngpios;\n\n(In this instance, the cited errors actually originate from\narch/arm/include/asm/arch-fsl-layerscape/gpio.h, which is included\nby the arm top level asm/gpio.h)\n\nImplemented as per suggestion from Quentin Schulz in Link:\n\nSigned-off-by: Mathew McBride <matt@traverse.com.au>\nLink: https://lore.kernel.org/u-boot/35038a9a-fa5a-4f9f-b34e-17cc80a7824c@cherry.de/\n---\n arch/arm/include/asm/gpio.h | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio.h\nindex 650783ae732..eba7bae9351 100644\n--- a/arch/arm/include/asm/gpio.h\n+++ b/arch/arm/include/asm/gpio.h\n@@ -1,3 +1,5 @@\n+#include <linux/types.h>\n+\n #ifdef CONFIG_GPIO_EXTRA_HEADER\n #include <asm/arch/gpio.h>\n #endif\n",
    "prefixes": [
        "v3",
        "1/8"
    ]
}