Skip to content

Commit 915651b

Browse files
ranganathvnaxboe
authored andcommitted
io_uring: Fix code indentation error
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent a94e065 commit 915651b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

io_uring/io_uring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ static inline struct io_cqe io_init_cqe(u64 user_data, s32 res, u32 cflags)
879879
}
880880

881881
static __cold void io_cqe_overflow(struct io_ring_ctx *ctx, struct io_cqe *cqe,
882-
struct io_big_cqe *big_cqe)
882+
struct io_big_cqe *big_cqe)
883883
{
884884
struct io_overflow_cqe *ocqe;
885885

io_uring/net.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ static int io_send_setup(struct io_kiocb *req, const struct io_uring_sqe *sqe)
383383
return 0;
384384

385385
if (sr->flags & IORING_SEND_VECTORIZED)
386-
return io_net_import_vec(req, kmsg, sr->buf, sr->len, ITER_SOURCE);
386+
return io_net_import_vec(req, kmsg, sr->buf, sr->len, ITER_SOURCE);
387387

388388
return import_ubuf(ITER_SOURCE, sr->buf, sr->len, &kmsg->msg.msg_iter);
389389
}

0 commit comments

Comments
 (0)