]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing
authorJens Axboe <axboe@kernel.dk>
Tue, 3 Feb 2026 16:55:47 +0000 (09:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Feb 2026 17:00:39 +0000 (10:00 -0700)
There's an unconditional newline feed anyway after dumping both normal
and big CQE contents, remove the \n from the CQE32 extra1/extra2
printing.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/fdinfo.c

index a87d4e26eee84ed1a609ea25b91d127457653deb..4f12e98b22c3005ac59dd3aac824a9b6245c8f25 100644 (file)
@@ -159,7 +159,7 @@ static void __io_uring_show_fdinfo(struct io_ring_ctx *ctx, struct seq_file *m)
                           cq_head & cq_mask, cqe->user_data, cqe->res,
                           cqe->flags);
                if (cqe32)
-                       seq_printf(m, ", extra1:%llu, extra2:%llu\n",
+                       seq_printf(m, ", extra1:%llu, extra2:%llu",
                                        cqe->big_cqe[0], cqe->big_cqe[1]);
                seq_printf(m, "\n");
                cq_head++;