get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197481,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197481/?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": "<04c85242-dc51-4ddf-9920-4dab57f2498f@kernel.org>",
    "date": "2026-02-17T22:32:46",
    "name": "[RFC,10/10] kobject: make struct kobject member default_groups a constant array",
    "commit_ref": null,
    "pull_url": null,
    "state": "handled-elsewhere",
    "archived": false,
    "hash": "115c8616804a1f6e6d70d8ce788573ad4f34f1ad",
    "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/04c85242-dc51-4ddf-9920-4dab57f2498f@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/2197481/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-rtc+bounces-5978-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=jypbKAFR;\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-rtc+bounces-5978-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=\"jypbKAFR\"",
            "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 4fFvY46kZLz1xvq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 09:32:56 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 400FF302DE54\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 22:32:51 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 84E842F6927;\n\tTue, 17 Feb 2026 22:32:50 +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 614A32EA473;\n\tTue, 17 Feb 2026 22:32:50 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id EFB1BC19421;\n\tTue, 17 Feb 2026 22:32:47 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771367570; cv=none;\n b=gmDAUYWkQBypmkMO/zVYXkxGFRdOVYK4iCV8An9eWQ0dD6bcJL1wmQSv8eIo3cillhQnWBYdJaieUu2M4bBxthSbstRr8tHptHIh9QnetS+REeKeMn/Ojp0uSbItw73PmCXrUIwax8AUxmdJpXSgI/cFTdwmBgR8jpRP6LXGeh8=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771367570; c=relaxed/simple;\n\tbh=bsHw0CdDAwiKv+O4iPUOnlnloSTFSuZaPE4oWUfsSAY=;\n\th=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References:\n\t In-Reply-To:Content-Type;\n b=Fpov6U7C4y+yGBw3bpKZp2CViHZSDWLj29ILY33WRaNAs4Fa/hsQRKyUaiF9rD/RbZEVF4AR9BBLC1lYnfSSRiqiUYbZCYa8yXydjYTJhqtvuE9gN/jWQE/1L5euRf5H6uuSVe9vs4S1KFJ5z0YVeWnxC7V6RaCaNprmV7hy4F8=",
        "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=jypbKAFR; 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=1771367570;\n\tbh=bsHw0CdDAwiKv+O4iPUOnlnloSTFSuZaPE4oWUfsSAY=;\n\th=Date:Subject:From:To:Cc:References:In-Reply-To:From;\n\tb=jypbKAFR2Jh4xWXGrHhlTaprdPNVnyhg5aUnSDib2lnw8pRwqxz8cUvy39LFHftR6\n\t jboHuR40a73E40sq4IqHQLio0m1Jzx0tcaE6g4eFk6Yi9o3gEeGtPT4cn5HG+VWGdj\n\t AEZhdvd5RgbJP/9MGexrJKYZFjPxn+NKM6S75t4vyW6FyZd0tAx/7CbWee+jRlygvl\n\t SfyR2hMorqcAaccz3nltJIbr2z0M6TutI2wgVdm13dVuRClPliIwGPSYF3hTvgYGcA\n\t A1DSs7McC2zECDnU8lyANXJ9DPv/R+ww2thyPr1/72PxN+qQI/uTfjSRfuFYqdxBDP\n\t hcEqcyhEE791A==",
        "Message-ID": "<04c85242-dc51-4ddf-9920-4dab57f2498f@kernel.org>",
        "Date": "Tue, 17 Feb 2026 23:32:46 +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 10/10] kobject: make struct kobject member default_groups\n a constant array",
        "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 default_groups array, allowing to assign constant arrays.\n\nSigned-off-by: Heiner Kallweit <hkallweit1@gmail.com>\n---\n include/linux/kobject.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/include/linux/kobject.h b/include/linux/kobject.h\nindex c8219505a79..e45ee843931 100644\n--- a/include/linux/kobject.h\n+++ b/include/linux/kobject.h\n@@ -116,7 +116,7 @@ char *kobject_get_path(const struct kobject *kobj, gfp_t flag);\n struct kobj_type {\n \tvoid (*release)(struct kobject *kobj);\n \tconst struct sysfs_ops *sysfs_ops;\n-\tconst struct attribute_group **default_groups;\n+\tconst struct attribute_group *const *default_groups;\n \tconst struct kobj_ns_type_operations *(*child_ns_type)(const struct kobject *kobj);\n \tconst void *(*namespace)(const struct kobject *kobj);\n \tvoid (*get_ownership)(const struct kobject *kobj, kuid_t *uid, kgid_t *gid);\n",
    "prefixes": [
        "RFC",
        "10/10"
    ]
}