diff options
author | Dan Carpenter <[email protected]> | 2024-09-16 17:07:10 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-09-16 12:04:10 -0600 |
commit | 2f6a55e4235f596b7dd9e8a7cf3e07f39ac5e9c2 (patch) | |
tree | e52c754a90d2d14dea4432ec49b02c9baf06b2a4 /rust/helpers/build_bug.c | |
parent | 7f44beadcc11adb98220556d2ddbe9c97aa6d42d (diff) |
io_uring: clean up a type in io_uring_register_get_file()
Originally "fd" was unsigned int but it was changed to int when we pulled
this code into a separate function in commit 0b6d253e084a
("io_uring/register: provide helper to get io_ring_ctx from 'fd'"). This
doesn't really cause a runtime problem because the call to
array_index_nospec() will clamp negative fds to 0 and nothing else uses
the negative values.
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions