diff options
author | Jens Axboe <axboe@kernel.dk> | 2025-09-10 09:50:30 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-09-10 17:30:51 -0600 |
commit | 9adc6669a60a7ec9e5a4b2b524791b0f4b7f3e66 (patch) | |
tree | 8aa4390d5f430aa59e1bab0e6746f4afe48d0419 /drivers/fpga/fpga-mgr.c | |
parent | 9f5f69d98efbcd4edb1c191cf91418688145e0d5 (diff) |
io_uring: correct size of overflow CQE calculation
If a 32b CQE is required, don't double the size of the overflow struct,
just add the size of the io_uring_cqe addition that is needed. This
avoids allocating too much memory, as the io_overflow_cqe size includes
the list member required to queue them too.
Fixes: e26dca67fde1 ("io_uring: add support for IORING_SETUP_CQE_MIXED")
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions