Skip to content
Commit 035fbafc authored by Colin Ian King's avatar Colin Ian King Committed by Jens Axboe
Browse files

io_uring: Fix sizeof() mismatch



An incorrect sizeof() is being used, sizeof(file_data->table) is not
correct, it should be sizeof(*file_data->table).

Fixes: 5398ae69 ("io_uring: clean file_data access in files_register")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Sizeof not portable (SIZEOF_MISMATCH)")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 071a0578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment