Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2197477/?format=api
{ "id": 2197477, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197477/?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": "<66a78ec0-2980-4376-96fb-3193b6cbe943@kernel.org>", "date": "2026-02-17T22:29:37", "name": "[RFC,06/10] driver core: make struct device_type member groups a constant array", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "c0574a0f532f679afff316271ff22405e8ae2cca", "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/66a78ec0-2980-4376-96fb-3193b6cbe943@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/2197477/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-rtc+bounces-5974-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=L4r7ltZz;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-rtc+bounces-5974-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=\"L4r7ltZz\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4fFvTQ2195z1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 09:29:46 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 62CEA300D0CB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 22:29:43 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 96DBA3191A0;\n\tTue, 17 Feb 2026 22:29:41 +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 7336B318ED3;\n\tTue, 17 Feb 2026 22:29:41 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id D17ABC4CEF7;\n\tTue, 17 Feb 2026 22:29:38 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771367381; cv=none;\n b=C93+Tb7iC+hI6dOU8F/XzWOTjPYHeGbg0QRiWP5GPXgCSKrMw2t6Wts9t8KaZ1G8vERfOX2w8WDtSww+v/Gvbboy8S/4Jpyviv5h9py2GQy/XSa6VHSof6eRrPvt90mHwXYnRwrIr0WpVCGNAr6Uu85PjE2VDFHCMWHrvRjYj0c=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771367381; c=relaxed/simple;\n\tbh=xrd9ece0m84ThVFko3txeePisZV2G0M/1l0pyaeu434=;\n\th=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References:\n\t In-Reply-To:Content-Type;\n b=DckB3Bj5+3XvY4EldUTNS1uds5MKk3A0QwoWkQSUQUZ+ov9pxkVYbN7bRnzZYIf1JLQ1k07p6noRWHIIm/f97sJ0f+FT/ta3Mqumkks4sfXPpXUN+PP4xu79u0+WLFesPR/7nDlRYOyiiJyr4SVbTVkeJDLHGARr7o0/JfTK8IY=", "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=L4r7ltZz; 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=1771367381;\n\tbh=xrd9ece0m84ThVFko3txeePisZV2G0M/1l0pyaeu434=;\n\th=Date:Subject:From:To:Cc:References:In-Reply-To:From;\n\tb=L4r7ltZzbr5xFxyE40X/d9feLRSAOAK9Wx2x3+pAIsMq9qZT4/CUUNcZwbWYzRq1x\n\t xQGl4RVpfrlqF0EPv9AgUh9rvvdmpj25ZmlJHi9onv2/aIIdfLY7VL007TJwjRuuUB\n\t IDc8lfC2qQ3bD87Q9ox84//jCaFwmy5bsKBJXnJE88sBVIg38gyjFOFmRT3BttlXXT\n\t ga14nBM1rx3wX44Dn31yeD06820kpCnOPNOlDwtOZkJSPzA/+PRg2VK8IpgQgtf1lY\n\t Po1LCda6odIOpBXJ0horTwJtdE2QRsYmf5JIs9/EgMekDqYbDb6AkBcLfFfPBy+IMa\n\t jx3V0B8UytYuQ==", "Message-ID": "<66a78ec0-2980-4376-96fb-3193b6cbe943@kernel.org>", "Date": "Tue, 17 Feb 2026 23:29:37 +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 06/10] driver core: make struct device_type member 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 groups array, allowing to assign constant arrays.\n\nSigned-off-by: Heiner Kallweit <hkallweit1@gmail.com>\n---\n include/linux/device.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/include/linux/device.h b/include/linux/device.h\nindex bfa2ca603c2..808f723bbcf 100644\n--- a/include/linux/device.h\n+++ b/include/linux/device.h\n@@ -87,7 +87,7 @@ int subsys_virtual_register(const struct bus_type *subsys,\n */\n struct device_type {\n \tconst char *name;\n-\tconst struct attribute_group **groups;\n+\tconst struct attribute_group *const *groups;\n \tint (*uevent)(const struct device *dev, struct kobj_uevent_env *env);\n \tchar *(*devnode)(const struct device *dev, umode_t *mode,\n \t\t\t kuid_t *uid, kgid_t *gid);\n", "prefixes": [ "RFC", "06/10" ] }