diff options
| author | 2026-02-10 10:34:32 +0800 | |
|---|---|---|
| committer | 2026-02-09 20:12:46 -0700 | |
| commit | daa0b901f8319414cf9f56237f15240b95e4b1b2 (patch) | |
| tree | 8cf5feeb9830b95e94448b2837c8842d77255668 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | io_uring: simplify IORING_SETUP_DEFER_TASKRUN && !SQPOLL check (diff) | |
io_uring/tctx: avoid modifying loop variable in io_ring_add_registered_file
Use a separate 'idx' variable to store the result of array_index_nospec()
instead of modifying the loop variable 'offset' directly. This improves
code clarity by separating the logical index from the sanitized index
used for array access.
No functional change intended.
Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
