diff options
author | 2025-01-14 22:32:13 +0100 | |
---|---|---|
committer | 2025-01-19 03:56:03 -0500 | |
commit | 39d772f6654a17ae57656602e801d265e82a2e36 (patch) | |
tree | 6bf2a12742f555dd6c7ca2f2b0c1ad94c307319a /scripts/gdb/linux/utils.py | |
parent | RDMA/rxe: Fix the warning "__rxe_cleanup+0x12c/0x170 [rdma_rxe]" (diff) | |
download | wireguard-linux-39d772f6654a17ae57656602e801d265e82a2e36.tar.xz wireguard-linux-39d772f6654a17ae57656602e801d265e82a2e36.zip |
RDMA/hfi1: 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://patch.msgid.link/20250114-sysfs-const-bin_attr-infiniband-v1-1-397aaa94d453@weissschuh.net
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions