All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 1/2] net: stmmac: remove extra newline from descriptors display
@ 2023-11-14  7:03 Baruch Siach
  2023-11-14  7:03 ` [PATCH net-next v2 2/2] net: stmmac: reduce dma ring display code duplication Baruch Siach
  2023-11-14 12:05 ` [PATCH net-next v2 1/2] net: stmmac: remove extra newline from descriptors display Serge Semin
  0 siblings, 2 replies; 6+ messages in thread
From: Baruch Siach @ 2023-11-14  7:03 UTC (permalink / raw)
  To: Alexandre Torgue, Jose Abreu; +Cc: netdev, Baruch Siach

One newline per line should be enough. Reduce the verbosity of
descriptors dump.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index 3e50fd53a617..39336fe5e89d 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -6202,7 +6202,6 @@ static void sysfs_display_ring(void *head, int size, int extend_desc,
 				   le32_to_cpu(p->des2), le32_to_cpu(p->des3));
 			p++;
 		}
-		seq_printf(seq, "\n");
 	}
 }
 
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-16 11:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-14  7:03 [PATCH net-next v2 1/2] net: stmmac: remove extra newline from descriptors display Baruch Siach
2023-11-14  7:03 ` [PATCH net-next v2 2/2] net: stmmac: reduce dma ring display code duplication Baruch Siach
2023-11-14 13:52   ` Serge Semin
2023-11-14 18:06     ` Baruch Siach
2023-11-16 11:23   ` Paolo Abeni
2023-11-14 12:05 ` [PATCH net-next v2 1/2] net: stmmac: remove extra newline from descriptors display Serge Semin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.