summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorYang Xiuwei <yangxiuwei@kylinos.cn>2026-02-10 05:34:32 +0300
committerJens Axboe <axboe@kernel.dk>2026-02-10 06:12:46 +0300
commitdaa0b901f8319414cf9f56237f15240b95e4b1b2 (patch)
tree8cf5feeb9830b95e94448b2837c8842d77255668 /include/uapi/linux/errqueue.h
parent7cb3a68376da0bc0afab8157223cb479c97de9ff (diff)
downloadlinux-daa0b901f8319414cf9f56237f15240b95e4b1b2.tar.xz
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 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions