diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2024-11-03 17:03:36 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-11-05 14:00:28 +0100 |
commit | 699e7b85afb5d94b99b0a3edca7e9e93ea320c8f (patch) | |
tree | 894ec5b0c5b3ad03ab079980f2519cf603315e88 /lib/debugobjects.c | |
parent | 94a20fb9af16417ab5fd17bcde3d906926f15ef6 (diff) | |
download | linux-699e7b85afb5d94b99b0a3edca7e9e93ea320c8f.tar.gz linux-699e7b85afb5d94b99b0a3edca7e9e93ea320c8f.tar.bz2 linux-699e7b85afb5d94b99b0a3edca7e9e93ea320c8f.zip |
sysfs: treewide: constify attribute callback of bin_attribute::llseek()
The llseek() 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: Krzysztof Wilczyński <kw@linux.com>
Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-7-71110628844c@weissschuh.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions