2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/platform/x86/intel/pmt
Thomas Weißschuh 7ff2fecc8b
platform/x86/intel/pmt: Constify 'struct bin_attribute'
The sysfs core now allows instances of 'struct bin_attribute' to be
moved into read-only memory. Make use of that to protect them against
accidental or malicious modifications.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pdx86-v1-4-9ab204c2a814@weissschuh.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2024-12-17 13:12:57 +02:00
..
class.c platform/x86/intel/pmt: Constify 'struct bin_attribute' 2024-12-17 13:12:57 +02:00
class.h platform/x86/intel/pmt: allow user offset for PMT callbacks 2024-11-14 15:16:50 +02:00
crashlog.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
Kconfig platform/x86/intel: Move intel_pmt from MFD to Auxiliary Bus 2021-12-22 13:56:19 +01:00
Makefile
telemetry.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
telemetry.h platform/x86/intel/pmt: telemetry: Export API to read telemetry 2023-12-04 14:53:43 +01:00