diff options
author | David Sterba <[email protected]> | 2024-05-20 20:49:18 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2024-07-11 15:33:19 +0200 |
commit | 56e6f2687521390bead4e4ea279ca4eec15579ef (patch) | |
tree | 345b22d78e1be7bb21fda01d731c9776a996d9e1 /tools/perf/scripts/python/netdev-times.py | |
parent | 840a97bdef1e5d7bd8bf147812df416cca15afc7 (diff) |
btrfs: constify parameters of write_eb_member() and its users
Reported by 'gcc -Wcast-qual', the argument from which write_extent_buffer()
reads data to write to the eb should be const. In addition the const
needs to be also added to __write_extent_buffer() local buffers.
All callers of write_eb_member() can now be updated to use const for the
input buffer structure or type.
Reviewed-by: Boris Burkov <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Reviewed-by: Naohiro Aota <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions