From c6078492ccd8be6a1a52b5aaa645c0275ea18d90 Mon Sep 17 00:00:00 2001 From: Caleb Sander Mateos Date: Thu, 17 Jul 2025 11:48:51 -0600 Subject: [PATCH] engines/io_uring: return unsigned from fio_ioring_cqring_reap() fio_ioring_cqring_reap() can't fail and returns an unsigned variable. So change its return type from int to unsigned. Signed-off-by: Caleb Sander Mateos --- engines/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/io_uring.c b/engines/io_uring.c index df90a332..40a64972 100644 --- a/engines/io_uring.c +++ b/engines/io_uring.c @@ -674,7 +674,7 @@ static char *fio_ioring_cmd_errdetails(struct thread_data *td, return msg; } -static int fio_ioring_cqring_reap(struct thread_data *td, unsigned int max) +static unsigned fio_ioring_cqring_reap(struct thread_data *td, unsigned int max) { struct ioring_data *ld = td->io_ops_data; struct io_cq_ring *ring = &ld->cq_ring; -- 2.25.1