mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
94a20fb9af
The mmap() callbacks should not modify the struct bin_attribute passed as argument. Enforce this by marking the argument as const. As there are not many callback implementers perform this change throughout the tree at once. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> # ocxl Acked-by: Krzysztof Wilczyński <kw@linux.com> Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-6-71110628844c@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
afu_irq.c | ||
config.c | ||
context.c | ||
core.c | ||
file.c | ||
Kconfig | ||
link.c | ||
main.c | ||
Makefile | ||
mmio.c | ||
ocxl_internal.h | ||
pasid.c | ||
pci.c | ||
sysfs.c | ||
trace.c | ||
trace.h |