get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2233367,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233367/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260506-impotency-untagged-2b3d46b57039@spud/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260506-impotency-untagged-2b3d46b57039@spud>",
    "date": "2026-05-06T09:57:39",
    "name": "[RFC,v1,1/4] pinctrl: generic: change signature of pinctrl_generic_to_map() to pass void data",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7a4e5a095b2ae441006cbce1e404299248e6c026",
    "submitter": {
        "id": 84372,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/84372/?format=api",
        "name": "Conor Dooley",
        "email": "conor@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260506-impotency-untagged-2b3d46b57039@spud/mbox/",
    "series": [
        {
            "id": 502949,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502949/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=502949",
            "date": "2026-05-06T09:57:38",
            "name": "generic pinmux dt_node_to_map implementation",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502949/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233367/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233367/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-36275-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@vger.kernel.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=XNXkQku1;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-gpio+bounces-36275-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"XNXkQku1\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\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 4g9WPX6DFMz1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 20:11:28 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 8D9C730CFFDC\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  6 May 2026 09:59:34 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E78A93FD15D;\n\tWed,  6 May 2026 09:58:14 +0000 (UTC)",
            "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 86A03402BA2;\n\tWed,  6 May 2026 09:58:11 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id CC201C2BCC9;\n\tWed,  6 May 2026 09:58:08 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778061491; cv=none;\n b=W61GQ4AcViBIpNEw4YRRbk5Yjk9jY0Xdb7/gptpGQ3PZxCI3v0pQIuuerqtW4qwBQcBI9ULSG65xHrtU9rN+J3CjxClqh2npslhmo+WySEArs4CW+p3iZfKWt+wVEeanq/afylfxe53UrMEsMJ7OmRXTvd8vE+A9+JQo8U9qSG4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778061491; c=relaxed/simple;\n\tbh=nS+w53mgZDDz5/WHgJtZUFy3p+Gm1mncA2Mp8hJAH74=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=YV8gxFaSVr+rQSMW/AYYT7DrAGy9RJDnusj/PPRZ62DfzK2G4iGN0/N+A8ZtnpbQZTid9oFnc1Feav+C+YMfTV4BK1ZNvv9K+SbySw0px3Za6BHJZAYH3Fsw+cD62inqSlk1KN574/1g0D4Kg5JUZxpEr8pWC4JRadcitFpaM1U=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=XNXkQku1; arc=none smtp.client-ip=10.30.226.201",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1778061490;\n\tbh=nS+w53mgZDDz5/WHgJtZUFy3p+Gm1mncA2Mp8hJAH74=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=XNXkQku1uHHdKKAtHRjXNdS25Uae4Aqi3pNq5aNNDiyT2Om7uGSnVXCw8dOCAWQKh\n\t bKtCO3LCuYUICNBzWGpN9QXT5o7YJPcFe/eZyh02x03CuhfSEVLNlhPmsGCQAULxTk\n\t 7Xa8mbzQjPaAXrDIeq5A8hGur2yo+iDkeBzIvuR/3U+50vJ/ywNyfr4YfFznDmIDEq\n\t Up3hQJpqxC8Jn1WWogcn5xF2FTI9kEnOT762Z2PUEOghRsbpW3DE7IhTGKAQLurCYb\n\t zb233IsLBDidkAwMIQ6YZILbIS/5bOjpS3ZVYZ7g94WoNN3geDR/WHRCm7S5oevW0l\n\t vuKKXk8jx33SQ==",
        "From": "Conor Dooley <conor@kernel.org>",
        "To": "Linus Walleij <linusw@kernel.org>",
        "Cc": "conor@kernel.org,\n\tConor Dooley <conor.dooley@microchip.com>,\n\tYixun Lan <dlan@kernel.org>,\n\tTroy Mitchell <troy.mitchell@linux.spacemit.com>,\n\tlinux-gpio@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-riscv@lists.infradead.org,\n\tspacemit@lists.linux.dev",
        "Subject": "[RFC v1 1/4] pinctrl: generic: change signature of\n pinctrl_generic_to_map() to pass void data",
        "Date": "Wed,  6 May 2026 10:57:39 +0100",
        "Message-ID": "<20260506-impotency-untagged-2b3d46b57039@spud>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260506-energize-dramatize-051909e54256@spud>",
        "References": "<20260506-energize-dramatize-051909e54256@spud>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=2497;\n i=conor.dooley@microchip.com; h=from:subject:message-id;\n bh=t1tswcXW1xGoS+RayKsRaGJ8HHS0FkJbWLql/CcOziI=;\n b=owGbwMvMwCVWscWwfUFT0iXG02pJDJm/BSaXfFPfffymmOxen8mpidxeynlPvk6YWfI24PrhW\n 60m13XudJSyMIhxMciKKbIk3u5rkVr/x2WHc89bmDmsTCBDGLg4BWAi17YzMvxXXe7/pf72wa03\n T0jExSs8/PpVSzVs7w9l5ec+R7J5ymYx/NOM/ta08MfmounxD0rWsbS/mfBd+Opf15pDag6Hdj+\n bvIEVAA==",
        "X-Developer-Key": "i=conor.dooley@microchip.com; a=openpgp;\n fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "From: Conor Dooley <conor.dooley@microchip.com>\n\nSigned-off-by: Conor Dooley <conor.dooley@microchip.com>\n---\n drivers/pinctrl/pinconf.h         | 6 ++----\n drivers/pinctrl/pinctrl-generic.c | 5 ++---\n 2 files changed, 4 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/pinctrl/pinconf.h b/drivers/pinctrl/pinconf.h\nindex 83f2d00c732e1..5d99fef27657f 100644\n--- a/drivers/pinctrl/pinconf.h\n+++ b/drivers/pinctrl/pinconf.h\n@@ -171,8 +171,7 @@ int pinctrl_generic_to_map(struct pinctrl_dev *pctldev, struct device_node *pare\n \t\t\t   struct device_node *np, struct pinctrl_map **maps,\n \t\t\t   unsigned int *num_maps, unsigned int *num_reserved_maps,\n \t\t\t   const char **group_name, unsigned int ngroups,\n-\t\t\t   const char **functions, unsigned int *pins,\n-\t\t\t   unsigned int npins);\n+\t\t\t   void *data, unsigned int *pins, unsigned int npins);\n #else\n static inline int\n pinctrl_generic_pins_function_dt_node_to_map(struct pinctrl_dev *pctldev,\n@@ -188,8 +187,7 @@ pinctrl_generic_to_map(struct pinctrl_dev *pctldev, struct device_node *parent,\n \t\t       struct device_node *np, struct pinctrl_map **maps,\n \t\t       unsigned int *num_maps, unsigned int *num_reserved_maps,\n \t\t       const char **group_name, unsigned int ngroups,\n-\t\t       const char **functions, unsigned int *pins,\n-\t\t       unsigned int npins)\n+\t\t       void *data, unsigned int *pins, unsigned int npins)\n {\n \treturn -ENOTSUPP;\n }\ndiff --git a/drivers/pinctrl/pinctrl-generic.c b/drivers/pinctrl/pinctrl-generic.c\nindex 76670aef62da4..6a13fd4eea65b 100644\n--- a/drivers/pinctrl/pinctrl-generic.c\n+++ b/drivers/pinctrl/pinctrl-generic.c\n@@ -21,8 +21,7 @@ int pinctrl_generic_to_map(struct pinctrl_dev *pctldev, struct device_node *pare\n \t\t\t   struct device_node *np, struct pinctrl_map **maps,\n \t\t\t   unsigned int *num_maps, unsigned int *num_reserved_maps,\n \t\t\t   const char **group_names, unsigned int ngroups,\n-\t\t\t   const char **functions, unsigned int *pins,\n-\t\t\t   unsigned int npins)\n+\t\t\t   void *data, unsigned int *pins, unsigned int npins)\n {\n \tstruct device *dev = pctldev->dev;\n \tunsigned int num_configs;\n@@ -45,7 +44,7 @@ int pinctrl_generic_to_map(struct pinctrl_dev *pctldev, struct device_node *pare\n \tif (ret < 0)\n \t\treturn ret;\n \n-\tret = pinctrl_generic_add_group(pctldev, group_name, pins, npins, functions);\n+\tret = pinctrl_generic_add_group(pctldev, group_name, pins, npins, data);\n \tif (ret < 0)\n \t\treturn dev_err_probe(dev, ret, \"failed to add group %s: %d\\n\",\n \t\t\t\t     group_name, ret);\n",
    "prefixes": [
        "RFC",
        "v1",
        "1/4"
    ]
}