diff options
author | Thomas Weißschuh <[email protected]> | 2024-11-03 17:03:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-11-05 14:00:28 +0100 |
commit | b626816fdd7f9beb841856ba049396cff46e99aa (patch) | |
tree | bc8c5e58f1534e54deb81b680587e22fc037b2f2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 00ab6e97de0071b21a548e0a823348b3309970ba (diff) |
sysfs: treewide: constify attribute callback of bin_is_visible()
The is_bin_visible() 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 <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Acked-by: Jason Gunthorpe <[email protected]>
Acked-by: Ira Weiny <[email protected]>
Acked-by: Krzysztof Wilczyński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions