summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2026-06-10 23:34:51 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-06-12 16:01:52 +0300
commitb79ad5e8ba5cfda93a83e0cf71d4743829cc9f83 (patch)
treec0033cb7f1ef57c9c613239ebc002574fe8477c7 /scripts/Makefile.thinlto
parentab1eb37dd63ff3555e4f98918f1bd3498522f765 (diff)
downloadlinux-b79ad5e8ba5cfda93a83e0cf71d4743829cc9f83.tar.xz
platform/wmi: Make wmi_bus_class const
The functions class_register()/_unregister() and device_create() both support taking a const pointer to the class struct. Use this to mark wmi_bus_class as const so that it can be placed into read-only memory for better security. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://patch.msgid.link/20260610203453.816254-8-W_Armin@gmx.de Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions