Skip to content

Commit 1edf089

Browse files
committed
io_uring: fix bad indentation for setup flags if statement
smatch complains about this: smatch warnings: io_uring/io_uring.c:2741 io_uring_sanitise_params() warn: if statement not indented hence fix it up. Link: https://lore.kernel.org/all/202601231651.HeTmPS8C-lkp@intel.com/ Fixes: 5247c03 ("io_uring: introduce non-circular SQ") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/202601231651.HeTmPS8C-lkp@intel.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 82dadc8 commit 1edf089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

io_uring/io_uring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2740,7 +2740,7 @@ static int io_uring_sanitise_params(struct io_uring_params *p)
27402740
if (flags & IORING_SETUP_SQ_REWIND) {
27412741
if ((flags & IORING_SETUP_SQPOLL) ||
27422742
!(flags & IORING_SETUP_NO_SQARRAY))
2743-
return -EINVAL;
2743+
return -EINVAL;
27442744
}
27452745

27462746
/* There is no way to mmap rings without a real fd */

0 commit comments

Comments
 (0)