aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-11-03 17:03:35 +0000
committerGreg Kroah-Hartman <[email protected]>2024-11-05 14:00:28 +0100
commit94a20fb9af16417ab5fd17bcde3d906926f15ef6 (patch)
tree9138c283d7bf7ba778b61c4dcc31052b09b36d1a /tools/perf/scripts/python/export-to-sqlite.py
parentb626816fdd7f9beb841856ba049396cff46e99aa (diff)
sysfs: treewide: constify attribute callback of bin_attribute::mmap()
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 <[email protected]> Acked-by: Andrew Donnellan <[email protected]> # ocxl 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