[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230207-kobj_type-pdx86-v1-0-8e2c4fb83105@weissschuh.net>
Date: Tue, 07 Feb 2023 16:40:43 +0000
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Divya Bharathi <divya.bharathi@...l.com>,
Prasanth Ksr <prasanth.ksr@...l.com>,
Hans de Goede <hdegoede@...hat.com>,
Mark Gross <markgross@...nel.org>,
Mark Pearson <markpearson@...ovo.com>,
Justin Ernst <justin.ernst@....com>
Cc: Dell.Client.Kernel@...l.com, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 0/3] platform/x86: Make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.")
the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent
modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
---
Thomas Weißschuh (3):
platform/x86: dell-wmi-sysman: Make kobj_type structure constant
platform/x86: think-lmi: Make kobj_type structure constant
x86/platform/uv: Make kobj_type structure constant
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 2 +-
drivers/platform/x86/think-lmi.c | 4 ++--
drivers/platform/x86/uv_sysfs.c | 6 +++---
3 files changed, 6 insertions(+), 6 deletions(-)
---
base-commit: d2d11f342b179f1894a901f143ec7c008caba43e
change-id: 20230207-kobj_type-pdx86-2c60e36c63db
Best regards,
--
Thomas Weißschuh <linux@...ssschuh.net>
Powered by blists - more mailing lists