get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231310,
    "url": "http://patchwork.ozlabs.org/api/patches/2231310/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/9f50c234c44af9075b5252ee7e59452ed2179b27.1777562725.git.geert+renesas@glider.be/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<9f50c234c44af9075b5252ee7e59452ed2179b27.1777562725.git.geert+renesas@glider.be>",
    "list_archive_url": null,
    "date": "2026-04-30T15:33:14",
    "name": "[3/7] pinctrl: ingenic: Fix type in .pin_config_group_get() callback",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "146ab84732c049a7f5228885cfdb75a9403cb4de",
    "submitter": {
        "id": 63808,
        "url": "http://patchwork.ozlabs.org/api/people/63808/?format=api",
        "name": "Geert Uytterhoeven",
        "email": "geert+renesas@glider.be"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/9f50c234c44af9075b5252ee7e59452ed2179b27.1777562725.git.geert+renesas@glider.be/mbox/",
    "series": [
        {
            "id": 502326,
            "url": "http://patchwork.ozlabs.org/api/series/502326/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=502326",
            "date": "2026-04-30T15:33:14",
            "name": "pinctrl: Fix types in .pin_config_group_get() callbacks",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502326/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231310/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231310/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-35938-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 spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-gpio+bounces-35938-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\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 4g5ysR4pZ9z1yGq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 01:34:51 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 9EFAE30193BD\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 30 Apr 2026 15:34:06 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 178E733F58B;\n\tThu, 30 Apr 2026 15:33:48 +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 D9F7D31F9A3;\n\tThu, 30 Apr 2026 15:33:47 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id D1EABC2BCB3;\n\tThu, 30 Apr 2026 15:33:43 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777563227; cv=none;\n b=JrKClcCPmvugzBTgtaMPbcWcaZgVkEMJ+N5l7/aoOJZ2Jyc+6NW98BSJ0zTZWl2491sW65CdBZsQQZD5K0MTkTetn8GcgfpUXkMc/tJhquxfOZVJdqh8X5ps3io/NMQmcffOZfLHIu6gJMQrXuyBHwlOPkeYwXHoEZgCE75qpnI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777563227; c=relaxed/simple;\n\tbh=aIyoNAj5rUTLLb9C21t0YUvB4rf1DO5cACrPoFhslLo=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=jxTsLMrq3N7FX1BSJEO41ytNhgoeJcwsVOytOjJHzzLG1W4DVRwDbG24GncqmLzjdHoZYq3pMvw3DM3KEUOK2e4L0jMLu9cELSb5XUGm0mMYvJahqqYMmRcXHTlnNSE6S3O7CFCr+0IFaGWknmDXsHS6C/bJg9f1GpFrEUj9wHE=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201",
        "From": "Geert Uytterhoeven <geert+renesas@glider.be>",
        "To": "Linus Walleij <linusw@kernel.org>,\n\tLorenzo Bianconi <lorenzo@kernel.org>,\n\tSean Wang <sean.wang@kernel.org>,\n\tPaul Cercueil <paul@crapouillou.net>,\n\tTony Lindgren <tony@atomide.com>,\n\tHaojian Zhuang <haojian.zhuang@linaro.org>,\n\tMatthias Brugger <matthias.bgg@gmail.com>,\n\tAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>,\n\tLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>",
        "Cc": "linux-gpio@vger.kernel.org,\n\tlinux-mediatek@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-mips@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-omap@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org,\n\tGeert Uytterhoeven <geert+renesas@glider.be>",
        "Subject": "[PATCH 3/7] pinctrl: ingenic: Fix type in .pin_config_group_get()\n callback",
        "Date": "Thu, 30 Apr 2026 17:33:14 +0200",
        "Message-ID": "\n <9f50c234c44af9075b5252ee7e59452ed2179b27.1777562725.git.geert+renesas@glider.be>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<cover.1777562725.git.geert+renesas@glider.be>",
        "References": "<cover.1777562725.git.geert+renesas@glider.be>",
        "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",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "On 64-bit platforms, \"unsigned long\" is 64-bit.  Hence checking if all\n\"unsigned long\" configuration values are equal should be done using an\n\"unsigned long\" temporary.\n\nWhile Ingenic is a 32-bit platform, it is still better to use the\ncorrect type, to serve as an example.\n\nSigned-off-by: Geert Uytterhoeven <geert+renesas@glider.be>\n---\n drivers/pinctrl/pinctrl-ingenic.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c\nindex c7f14546de0528de..29d7f4e54bc7b126 100644\n--- a/drivers/pinctrl/pinctrl-ingenic.c\n+++ b/drivers/pinctrl/pinctrl-ingenic.c\n@@ -4334,7 +4334,8 @@ static int ingenic_pinconf_group_get(struct pinctrl_dev *pctldev,\n \t\tunsigned int group, unsigned long *config)\n {\n \tconst unsigned int *pins;\n-\tunsigned int i, npins, old = 0;\n+\tunsigned int i, npins;\n+\tunsigned long old = 0;\n \tint ret;\n \n \tret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins);\n",
    "prefixes": [
        "3/7"
    ]
}