diff options
| author | 2026-06-10 22:34:51 +0200 | |
|---|---|---|
| committer | 2026-06-12 16:01:52 +0300 | |
| commit | b79ad5e8ba5cfda93a83e0cf71d4743829cc9f83 (patch) | |
| tree | c0033cb7f1ef57c9c613239ebc002574fe8477c7 /tools/perf/scripts/python | |
| parent | hwmon: (dell-smm) Use new buffer-based WMI API (diff) | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
