linux-next/drivers/w1/slaves
Thomas Weißschuh 0f28374e99 w1: ds28e04: 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/20241211-sysfs-const-bin_attr-w1-v1-12-c4befd2aa7cc@weissschuh.net
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-12-14 11:06:34 +01:00
..
Kconfig w1: Fix Kconfig indentation 2023-05-08 08:14:50 +02:00
Makefile w1: new driver. DS2430 chip 2019-11-14 13:06:33 +08:00
w1_ds28e04.c w1: ds28e04: Constify 'struct bin_attribute' 2024-12-14 11:06:34 +01:00
w1_ds28e17.c w1: use octal for file permissions 2023-04-20 14:15:06 +02:00
w1_ds250x.c nvmem: add explicit config option to read old syntax fixed OF cells 2023-10-21 19:19:06 +02:00
w1_ds2405.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2406.c w1: ds2406: Constify 'struct bin_attribute' 2024-12-14 11:06:15 +01:00
w1_ds2408.c w1: ds2408: Constify 'struct bin_attribute' 2024-12-14 11:06:22 +01:00
w1_ds2413.c w1: ds2413: Constify 'struct bin_attribute' 2024-12-14 11:06:25 +01:00
w1_ds2423.c w1: Constify static w1_family_ops structs 2020-10-05 13:21:49 +02:00
w1_ds2430.c w1: ds2430: Constify 'struct bin_attribute' 2024-12-14 11:06:26 +01:00
w1_ds2431.c w1: ds2431: Constify 'struct bin_attribute' 2024-12-14 11:06:26 +01:00
w1_ds2433.c w1: ds2433: Constify 'struct bin_attribute' 2024-12-14 11:06:27 +01:00
w1_ds2438.c w1: ds2438: Constify 'struct bin_attribute' 2024-12-14 11:06:32 +01:00
w1_ds2780.c w1: ds2780: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_ds2780.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2781.c w1: ds2781: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_ds2781.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w1_ds2805.c w1: ds2805: Constify 'struct bin_attribute' 2024-12-14 11:06:33 +01:00
w1_smem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 94 2019-05-24 17:37:53 +02:00
w1_therm.c w1: therm: constify pointers to hwmon_channel_info 2023-05-08 12:16:38 +02:00