diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-01-23 05:09:08 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-01-23 05:09:08 -0700 |
| commit | 1edf0891d0f4a6c186721e41323c9a3b86ceceda (patch) | |
| tree | 569819b7710ff6e928f51021993e560e21c32cc2 /io_uring/io_uring.c | |
| parent | 82dadc8a494758093e775336390cb31033c6f9a3 (diff) | |
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: 5247c034a67f ("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>
Diffstat (limited to 'io_uring/io_uring.c')
| -rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 0f88ec74e55d..5c503a3f6ecc 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -2740,7 +2740,7 @@ static int io_uring_sanitise_params(struct io_uring_params *p) if (flags & IORING_SETUP_SQ_REWIND) { if ((flags & IORING_SETUP_SQPOLL) || !(flags & IORING_SETUP_NO_SQARRAY)) - return -EINVAL; + return -EINVAL; } /* There is no way to mmap rings without a real fd */ |
