Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2197472/?format=api
{ "id": 2197472, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197472/?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": "<0f7f4ffa-1465-4c54-8d3d-e9b551136669@kernel.org>", "date": "2026-02-17T22:25:20", "name": "[RFC,01/10] IB/core: Prepare for immutable device groups", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "b594c145aef8acfdacb4f27124de2e3c4183684b", "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/0f7f4ffa-1465-4c54-8d3d-e9b551136669@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/2197472/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-rtc+bounces-5969-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=fAlsSxkx;\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-5969-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=\"fAlsSxkx\"", "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 4fFvNQ6nVdz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 18 Feb 2026 09:25:26 +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 3EED3301AD2C\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 22:25:25 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id C4A85318BAD;\n\tTue, 17 Feb 2026 22:25:24 +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 A0A1C3168F6;\n\tTue, 17 Feb 2026 22:25:24 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 068F6C4CEF7;\n\tTue, 17 Feb 2026 22:25:21 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1771367124; cv=none;\n b=KeTvCLDaJNGoaHe/5ttpSgZtbJG89/Ot4jGjPxtG1eYFnCpCN3UAz0NmKmsa3g6NOu0MqGHZYZFfud3k1EIAAoieojtWJefC9Cal+Ane6+85Jj7MlmYH0KEH3JSf4wHP03Er8SJPLE174MGyMt+Ro+Wkcn03U6YVsVXYTLL9a4Y=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1771367124; c=relaxed/simple;\n\tbh=0G2Wu+ork4b43/V01ieIEc5auZF0HDjfDOooAbQRvMM=;\n\th=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References:\n\t In-Reply-To:Content-Type;\n b=EUh1YefRn1eKUdemgT9InFwYKGpO5GxmDB8y1QuL5izBNa5AERwu2Sw/iTpRhP3cpPKDVn9nFeQ6MraPSm6ilQk2ASCu8/49742KYBrijg+61wyrKiW6hYho2yaNo3tN6C21CN5xs1NeHiEAzE859tDLGBqfLVtn2Lz1ksy4/rQ=", "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=fAlsSxkx; 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=1771367124;\n\tbh=0G2Wu+ork4b43/V01ieIEc5auZF0HDjfDOooAbQRvMM=;\n\th=Date:Subject:From:To:Cc:References:In-Reply-To:From;\n\tb=fAlsSxkx3sLN1/XXD48wAPoUeZ0r4sVnEKY6+VKVBhuy8RpHRmSEhRe1lkt3tEyNg\n\t /LedgzgSS5NGp9xE1W4+i8YlIXKztRgomPnxA6O1Y8Hs4jCoq99BVs/SR5C5u4HnVb\n\t P2ZXY0mZiuwY4TTKJZJxgNFw5awwgws+M0zZSh88lotDKrc9F1fiOWaIyHlYTPzNg7\n\t EP/dCOHKOPpP6eYrPGOCx41xRRMXNOnW2Ed3zk0w3ewO5EO+QAYnMvDJ3TPtHdoG3m\n\t vPZ9gIHqLZWWYtx5eszqFFrUhdiRsWiGpt/ivPwPLArGm7UA/bsLJguqAIcJVIMmfY\n\t mno9B+KD0ipJw==", "Message-ID": "<0f7f4ffa-1465-4c54-8d3d-e9b551136669@kernel.org>", "Date": "Tue, 17 Feb 2026 23:25:20 +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 01/10] IB/core: Prepare for immutable device groups", "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": "This prepares for making struct device member groups a constant array.\nNo functional change intended.\n\nSigned-off-by: Heiner Kallweit <hkallweit1@gmail.com>\n---\n drivers/infiniband/core/device.c | 9 ++++-----\n 1 file changed, 4 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c\nindex 1174ab7da62..f967ad534fc 100644\n--- a/drivers/infiniband/core/device.c\n+++ b/drivers/infiniband/core/device.c\n@@ -565,15 +565,14 @@ static void rdma_init_coredev(struct ib_core_device *coredev,\n \t */\n \tBUILD_BUG_ON(offsetof(struct ib_device, coredev.dev) !=\n \t\t offsetof(struct ib_device, dev));\n-\n-\tcoredev->dev.class = &ib_class;\n-\tcoredev->dev.groups = dev->groups;\n-\n \t/*\n \t * Don't expose hw counters outside of the init namespace.\n \t */\n \tif (!is_full_dev && dev->hw_stats_attr_index)\n-\t\tcoredev->dev.groups[dev->hw_stats_attr_index] = NULL;\n+\t\tdev->groups[dev->hw_stats_attr_index] = NULL;\n+\n+\tcoredev->dev.class = &ib_class;\n+\tcoredev->dev.groups = dev->groups;\n \n \tdevice_initialize(&coredev->dev);\n \tcoredev->owner = dev;\n", "prefixes": [ "RFC", "01/10" ] }