public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH net-next v3 1/2] net: stmmac: remove extra newline from descriptors display
@ 2023-11-19  5:39 Baruch Siach
  2023-11-19  5:39 ` [PATCH net-next v3 2/2] net: stmmac: reduce dma ring display code duplication Baruch Siach
  2023-11-21 11:50 ` [PATCH net-next v3 1/2] net: stmmac: remove extra newline from descriptors display patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2023-11-19  5:39 UTC (permalink / raw)
  To: Alexandre Torgue, Jose Abreu
  Cc: netdev, Serge Semin, Paolo Abeni, Baruch Siach

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

Reviewed-by: Serge Semin <fancer.lancer@gmail•com>
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 2afb2bd25977..8ab99c65ac59 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -6203,7 +6203,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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19  5:39 [PATCH net-next v3 1/2] net: stmmac: remove extra newline from descriptors display Baruch Siach
2023-11-19  5:39 ` [PATCH net-next v3 2/2] net: stmmac: reduce dma ring display code duplication Baruch Siach
2023-11-21 11:50 ` [PATCH net-next v3 1/2] net: stmmac: remove extra newline from descriptors display patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox