aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-01-14 22:25:14 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-21 09:20:30 +0100
commit7de24e20a7aa83295e567982b0b29f3b53152759 (patch)
tree278a585e6f1491d7869652b53dacb13c3613b644 /include/linux/compiler-gcc.h
parentdriver core: location: Use str_yes_no() helper function (diff)
downloadwireguard-linux-7de24e20a7aa83295e567982b0b29f3b53152759.tar.xz
wireguard-linux-7de24e20a7aa83295e567982b0b29f3b53152759.zip
cxl/port: 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> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://lore.kernel.org/r/20250114-sysfs-const-bin_attr-cxl-v1-1-5afa23fe2a52@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions