diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-06-13 03:11:55 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-06-13 05:13:09 -0600 |
commit | 97da4a537924d87e2261773f3ac9365abb191fc9 (patch) | |
tree | acc0f4d6caf1da567fd63808e7901f267a452f8e /scripts/gdb/linux/clk.py | |
parent | b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 (diff) |
io_uring: fix index calculation
When indexing into a provided buffer ring, do not subtract 1 from the
index.
Fixes: c7fb19428d67 ("io_uring: add support for ring mapped supplied buffers")
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Link: https://lore.kernel.org/r/20220613101157.3687-2-dylany@fb.com
Reviewed-by: Hao Xu <howeyxu@tencent.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions