Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <vnranganath.20@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Ranganath V N and committed by
Jens Axboe
915651b7 a94e0657

+2 -2
+1 -1
io_uring/io_uring.c
··· 879 879 } 880 880 881 881 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) 883 883 { 884 884 struct io_overflow_cqe *ocqe; 885 885
+1 -1
io_uring/net.c
··· 383 383 return 0; 384 384 385 385 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); 387 387 388 388 return import_ubuf(ITER_SOURCE, sr->buf, sr->len, &kmsg->msg.msg_iter); 389 389 }