]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
io_uring: Fix code indentation error
authorRanganath V N <vnranganath.20@gmail.com>
Tue, 21 Oct 2025 17:29:30 +0000 (22:59 +0530)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Oct 2025 16:56:11 +0000 (10:56 -0600)
Fix the indentation to ensure consistent code style and improve
readability and to fix the errors:
ERROR: code indent should use tabs where possible
+               return io_net_import_vec(req, kmsg, sr->buf, sr->len, ITER_SOURCE);$

ERROR: code indent should use tabs where possible
+^I^I^I           struct io_big_cqe *big_cqe)$

Tested by running the /scripts/checkpatch.pl

Signed-off-by: Ranganath V N <vnranganath.20@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/net.c

index 820ef05276667e74c259723bf9f3c605cf9d0505..296667ba712cefb59bd540565a773f6eff092e1a 100644 (file)
@@ -879,7 +879,7 @@ static inline struct io_cqe io_init_cqe(u64 user_data, s32 res, u32 cflags)
 }
 
 static __cold void io_cqe_overflow(struct io_ring_ctx *ctx, struct io_cqe *cqe,
-                                  struct io_big_cqe *big_cqe)
+                                  struct io_big_cqe *big_cqe)
 {
        struct io_overflow_cqe *ocqe;
 
index f99b90c762fc2fcca910c1eac683a62aedbf5389..a95cc9ca2a4d88a2c95e5889a3410463d97ae9fe 100644 (file)
@@ -383,7 +383,7 @@ static int io_send_setup(struct io_kiocb *req, const struct io_uring_sqe *sqe)
                return 0;
 
        if (sr->flags & IORING_SEND_VECTORIZED)
-               return io_net_import_vec(req, kmsg, sr->buf, sr->len, ITER_SOURCE);
+               return io_net_import_vec(req, kmsg, sr->buf, sr->len, ITER_SOURCE);
 
        return import_ubuf(ITER_SOURCE, sr->buf, sr->len, &kmsg->msg.msg_iter);
 }