* [PATCH] io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing
@ 2026-02-03 17:03 Jens Axboe
0 siblings, 0 replies; only message in thread
From: Jens Axboe @ 2026-02-03 17:03 UTC (permalink / raw)
To: io-uring
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>
---
diff --git a/io_uring/fdinfo.c b/io_uring/fdinfo.c
index a87d4e26eee8..4f12e98b22c3 100644
--- a/io_uring/fdinfo.c
+++ b/io_uring/fdinfo.c
@@ -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++;
--
Jens Axboe
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-03 17:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 17:03 [PATCH] io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox