aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-02 19:38:34 +0000
committerIlpo Järvinen <[email protected]>2024-12-17 11:12:52 +0000
commitb0034f206f140ecdd78e8f5fe4d61fb367124f3b (patch)
tree53e4983365ab4eebf7b5a1875847118da53edd24 /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86: dell_rbu: Constify 'struct bin_attribute' (diff)
downloadkernel-b0034f206f140ecdd78e8f5fe4d61fb367124f3b.tar.gz
kernel-b0034f206f140ecdd78e8f5fe4d61fb367124f3b.zip
platform/x86/intel/sdsi: 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 <[email protected]> Link: https://lore.kernel.org/r/20241202-sysfs-const-bin_attr-pdx86-v1-3-9ab204c2a814@weissschuh.net Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions