get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197480,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197480/?format=api",
    "project": {
        "id": 9,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/9/?format=api",
        "name": "Linux RTC development",
        "link_name": "rtc-linux",
        "list_id": "linux-rtc.vger.kernel.org",
        "list_email": "linux-rtc@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<01962d6e-7bb3-431d-9ec3-b4f20e883aae@kernel.org>",
    "date": "2026-02-17T22:31:47",
    "name": "[RFC,09/10] driver core: make struct device_driver groups members contact arrays",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "1c2a36bff84d7c352aae81913c978c74bff509f6",
    "submitter": {
        "id": 88130,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/88130/?format=api",
        "name": "Heiner Kallweit",
        "email": "hkall@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/01962d6e-7bb3-431d-9ec3-b4f20e883aae@kernel.org/mbox/",
    "series": [
        {
            "id": 492492,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/492492/?format=api",
            "date": "2026-02-17T22:24:26",
            "name": "driver core: constify groups arrays in several structs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492492/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197480/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-rtc+bounces-5977-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-rtc@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=TxGvwWL6;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.234.253.10; helo=sea.lore.kernel.org;\n envelope-from=linux-rtc+bounces-5977-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=\"TxGvwWL6\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])\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 4fFvX759wxz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 09:32:07 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id BC7E53016C92\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 22:31:52 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 537E3271450;\n\tTue, 17 Feb 2026 22:31:52 +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 2FD113C2D;\n\tTue, 17 Feb 2026 22:31:51 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 64D10C4CEF7;\n\tTue, 17 Feb 2026 22:31:49 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771367512; cv=none;\n b=nxP0JDco6z/6j/FXy4CXl5YmZ48cQHxCFoAMKPsf1pTUhL3wu+5CCIg7L/emYNbznPTv+nDBij94xQm/VieRgjYa7IMcT0N5A9TXg8PpDSaf/IQ5bHCca3E98i+bhM3RJYgNuyIRHucuySuiK62bxSUmCgbf9ptpTaLblunZLxo=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771367512; c=relaxed/simple;\n\tbh=ahqf2qRVFegoMHQN9qWy0uSCWB+Tntxf3SSS1Kt/6WU=;\n\th=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References:\n\t In-Reply-To:Content-Type;\n b=W5GM836NlJdbMuhKpUv1Hjq/DTr++NvKPTzHvKucxsMxbHNBOnMSn+KwebTClA/z8YhcGS7fZTo0WUVTnI6GrvnisVlJfCYFQ7hzfAiGAnW9TFUL8saRZtg8o6sRhCTlRwQWwY7ESQYt1thT6fsN3NWjQGXpnLdM8BXyxPZzL3k=",
        "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=TxGvwWL6; 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=1771367511;\n\tbh=ahqf2qRVFegoMHQN9qWy0uSCWB+Tntxf3SSS1Kt/6WU=;\n\th=Date:Subject:From:To:Cc:References:In-Reply-To:From;\n\tb=TxGvwWL652Dx6J3RpAz9GbpYV+1fvUnwzIKZRpClPgqDAxVBOzREQysAOAbJUr5oL\n\t u2VPALzb6d3HKb+8eHGMv8c1QF3un7xhsLERBe3PwgdKjVfjSysFNe9xld08LFKjCc\n\t SnVcV+PXl7ok4mdlpVk0w5I8gXGQmKJdMi3VxjKSkimJj2htBfOy5KpL/TRqjnSO5m\n\t MfPaCd7gfkr2xIneOwVlCJi148G84fNwNPHuCVjf+SiGws00Cr5ZV/5QAF4LNml9xe\n\t 4CU41PdtYSofaMkrGnMJZJq70T3wgt8oZF28TJ4os7t2+5AE6ZP9Aixz46RDb0Wa9u\n\t YNJ9olGdRikkQ==",
        "Message-ID": "<01962d6e-7bb3-431d-9ec3-b4f20e883aae@kernel.org>",
        "Date": "Tue, 17 Feb 2026 23:31:47 +0100",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-rtc@vger.kernel.org",
        "List-Id": "<linux-rtc.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-rtc+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-rtc+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "User-Agent": "Mozilla Thunderbird",
        "Subject": "[PATCH RFC 09/10] driver core: make struct device_driver groups\n members contact arrays",
        "From": "Heiner Kallweit <hkall@kernel.org>",
        "To": "=?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net>,\n Greg Kroah-Hartman <gregkh@linuxfoundation.org>,\n \"Rafael J. Wysocki\" <rafael@kernel.org>, Danilo Krummrich <dakr@kernel.org>,\n Jason Gunthorpe <jgg@ziepe.ca>, Leon Romanovsky <leon@kernel.org>,\n Alexandre Belloni <alexandre.belloni@bootlin.com>",
        "Cc": "driver-core@lists.linux.dev,\n Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,\n linux-rdma@vger.kernel.org, linux-rtc@vger.kernel.org",
        "References": "<5d0951ec-42c9-453f-9966-ecca593c4153@kernel.org>",
        "Content-Language": "en-US",
        "In-Reply-To": "<5d0951ec-42c9-453f-9966-ecca593c4153@kernel.org>",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "7bit"
    },
    "content": "Constify the groups arrays, allowing to assign constant arrays.\n\nSigned-off-by: Heiner Kallweit <hkallweit1@gmail.com>\n---\n include/linux/device/driver.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/linux/device/driver.h b/include/linux/device/driver.h\nindex bbc67ec513e..c882daaef01 100644\n--- a/include/linux/device/driver.h\n+++ b/include/linux/device/driver.h\n@@ -114,8 +114,8 @@ struct device_driver {\n \tvoid (*shutdown) (struct device *dev);\n \tint (*suspend) (struct device *dev, pm_message_t state);\n \tint (*resume) (struct device *dev);\n-\tconst struct attribute_group **groups;\n-\tconst struct attribute_group **dev_groups;\n+\tconst struct attribute_group *const *groups;\n+\tconst struct attribute_group *const *dev_groups;\n \n \tconst struct dev_pm_ops *pm;\n \tvoid (*coredump) (struct device *dev);\n",
    "prefixes": [
        "RFC",
        "09/10"
    ]
}