aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-12-22 20:08:20 +0000
committerJakub Kicinski <[email protected]>2025-01-03 01:10:27 +0000
commitbe16b46f9ebd3270a4c4da81e5d7bb34b6f43384 (patch)
treefe4aed7464f88c28747dc21854aba1a866e7d3a9 /drivers/fpga/zynq-fpga.c
parentnet: phy: fix phy_disable_eee (diff)
downloadkernel-be16b46f9ebd3270a4c4da81e5d7bb34b6f43384.tar.gz
kernel-be16b46f9ebd3270a4c4da81e5d7bb34b6f43384.zip
ptp: ocp: 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]> Reviewed-by: Vadim Fedorenko <[email protected]> Link: https://patch.msgid.link/20241222-sysfs-const-bin_attr-ptp-v1-1-5c1f3ee246fb@weissschuh.net Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions