diff options
author | Benjamin Block <bblock@linux.ibm.com> | 2023-04-04 20:33:59 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-03 11:00:53 +0100 |
commit | efd34db6e6813c6e573f34353ce4ad5e81f56dbd (patch) | |
tree | de3e724be73d9ca77524aceab3bd252a8ab4d321 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bc3d4402a09cf072a56945e615fc587f8c1bec04 (diff) |
s390/cio: Use array indices instead of pointer arithmetic
ccw_device_get_ciw() already uses array indices to iterate over the vector
of CIWs, but then switches to pointer arithmetic when returning the one it
found. Change this to make it more consistent.
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions