Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message May 17, 2023

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 83b2d4b78374055c3a2261136eedf03b5fbfc335:

ci: stop testing Linux 32-bit builds (2023-05-15 08:51:27 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to be42eadd18fad2569dfc6517940db8bbe2469f6d:

engines/io_uring: fix coverity issue (2023-05-16 09:01:57 -0600)

----------------------------------------------------------------
Ankit Kumar (1):
engines/io_uring: fix coverity issue

 engines/io_uring.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

---

Diff of recent changes:

engines/io_uring.c +2 -1
index 90e5a856..ff64fc9f 100644
@@ -1198,7 +1198,8 @@ static int fio_ioring_cmd_open_file(struct thread_data *td, struct fio_file *f)
 			FILE_SET_ENG_DATA(f, data);
 		}
 
-		lba_size = data->lba_ext ? data->lba_ext : (1 << data->lba_shift);
+		assert(data->lba_shift < 32);
+		lba_size = data->lba_ext ? data->lba_ext : (1U << data->lba_shift);
 
 		for_each_rw_ddir(ddir) {
 			if (td->o.min_bs[ddir] % lba_size ||