Skip to contentSkip to conversation

io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing

PATCH New Jens Axboe 1 participant 1 message Feb 3 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

PATCH 1/1 io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing

There's an unconditional newline feed anyway after dumping both normal and big CQE contents, remove the \n from the CQE32 extra1/extra2 printing.

---

io_uring/fdinfo.c +1 -1
index a87d4e26eee8..4f12e98b22c3 100644
@@ -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++;
Signature · 1 line
Jens Axboe