2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/misc/ocxl
Thomas Weißschuh 0e3cd21cde ocxl: 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>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Link: https://lore.kernel.org/r/20241221-sysfs-const-bin_attr-misc-drivers-v2-1-ba5e79fe8771@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-24 09:36:01 +01:00
..
afu_irq.c misc: ocxl: afu_irq: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
config.c ocxl: fix pci device refcount leak when calling get_function_0() 2022-11-23 19:49:22 +01:00
context.c misc: ocxl: context: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
core.c ocxl: simplify the return expression of free_function_dev() 2020-10-02 11:35:46 +02:00
file.c eventfd: simplify eventfd_signal() 2023-11-28 14:08:38 +01:00
Kconfig powerpc updates for 5.10 2020-10-16 12:21:15 -07:00
link.c misc: ocxl: link: Remove unnecessary (void*) conversions 2023-11-27 22:01:14 +11:00
main.c misc: ocxl: main: Remove unnecessary ‘0’ values from rc 2023-11-27 22:01:14 +11:00
Makefile ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
mmio.c ocxl: Provide global MMIO accessors for external drivers 2019-05-03 02:55:02 +10:00
ocxl_internal.h ocxl: Remove the unused declarations in headr file 2024-09-11 16:03:20 +02:00
pasid.c
pci.c ocxl: Make ocxl_remove() static 2019-05-28 12:08:11 +10:00
sysfs.c ocxl: Constify 'struct bin_attribute' 2024-12-24 09:36:01 +01:00
trace.c ocxl: Add trace points 2018-01-24 11:42:59 +11:00
trace.h ocxl: Add new kernel traces 2020-12-04 01:01:30 +11:00