Message ID | 8e3121170d479cbe095f985e01fc5e0386f2afff.1699945390.git.baruch@tkos.co.il (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,v2,1/2] net: stmmac: remove extra newline from descriptors display | expand |
On Tue, Nov 14, 2023 at 09:03:09AM +0200, Baruch Siach wrote: > One newline per line should be enough. Reduce the verbosity of > descriptors dump. Why not. Thanks. Reviewed-by: Serge Semin <fancer.lancer@gmail.com> -Serge(y) > > 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 > >
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"); } }
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(-)