diff options
| author | Jan Höppner <hoeppner@linux.ibm.com> | 2025-10-16 09:47:15 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2025-10-21 10:25:55 +0200 |
| commit | e039400f75f1a88675132abc57a18d090cf75209 (patch) | |
| tree | 6ab56db71e93d823f1fc753a993692d889daab3a /tools/lib/python/kdoc/kdoc_output.py | |
| parent | 83cff1b1245fcabe76889520c8a92158e4f25f7b (diff) | |
s390/tape: Fix return value of ccw helper functions
In contrast to all other helper functions used to build CCW chains,
tape_ccw_cc_idal() and tape_ccw_end_idal() return values using
post-increments, which results in returning the same CCW pointer.
Though, the intent of the CCW helper functions is to return the _next_
CCW in the chain, which can then be processed.
There is currently no actual issue, as tape_ccw_cc_idal() is not used
yet and tape_ccw_end_idal() is only used at the end of a chain.
Change both functions return statement to ccw + 1 and bring them in line
with the other helper functions.
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
