summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-11-15 17:42:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-15 19:29:16 +0100
commit5943c0dc7912210be1ab2732e0b663c1082ab543 (patch)
tree19502553b5ed75f90143df0ef55e9202a05557d7 /drivers/platform/x86/intel/pmt/class.c
parent906c508afdca3487c4273bfeda8abedc8e21047b (diff)
downloadlinux-5943c0dc7912210be1ab2732e0b663c1082ab543.tar.gz
linux-5943c0dc7912210be1ab2732e0b663c1082ab543.tar.bz2
linux-5943c0dc7912210be1ab2732e0b663c1082ab543.zip
driver core: Constify bin_attribute definitions
Mark all 'struct bin_attribute' instances as const to protect against accidental and malicious modifications. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20241115-b4-sysfs-const-bin_attr-group-v1-2-2c9bb12dfc48@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions