stmmac: Add missing LF to pr_info() in stmmac_main.c
Subsystems (4)
PATCH 1/1 stmmac: Add missing LF to pr_info() in stmmac_main.c
Otherwise the output looks like this:
...
STMMAC - user ID: 0x10, Synopsys ID: 0x32
No HW DMA feature register supported
Normal descriptors
Remote wake-up capable
Checksum Offload Engine supported
No MAC Management Counters availableIP-Config: Complete:
device=eth0, addr=192.168.20.42, mask=255.255.0.0, gw=192.168.1.254,
...
--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1 -1
@@ -772,7 +772,7 @@ static void stmmac_mmc_setup(struct stmmac_priv *priv)dwmac_mmc_ctrl (priv->ioaddr, mode);memset (&priv->mmc,0 ,sizeof (struct stmmac_counters )); }else -pr_info (" No MAC Management Counters available" ); +pr_info (" No MAC Management Counters available\n" ); }static u32 stmmac_get_synopsys_id (struct stmmac_priv *priv)
Signature · 1 line
1.7.8.3
Quoted 9 lines · Stefan Roese
Otherwise the output looks like this:
...
STMMAC - user ID:0x10, Synopsys ID:0x32
No HW DMA feature register supported
Normal descriptors
Remote wake-up capable
Checksum Offload Engine supported
No MAC Management Counters availableIP-Config: Complete:
Quoted 5 lines
device=eth0, addr=192.168.20.42, mask=255.255.0.0, gw=192.168.1.254,...
Signed-off-by Stefan Roese <[email protected]>Cc Giuseppe Cavallaro <[email protected]>
Quoted 17 lines
--- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +1
-1@@ -772,7 +772,7 @@ static void stmmac_mmc_setup(struct stmmac_priv *priv)dwmac_mmc_ctrl (priv->ioaddr, mode);memset (&priv->mmc,0 ,sizeof (struct stmmac_counters )); }else -pr_info (" No MAC Management Counters available" ); +pr_info (" No MAC Management Counters available\n" ); }static u32 stmmac_get_synopsys_id (struct stmmac_priv *priv)
From: Stefan Roese <[email protected]>
Date: Tue, 10 Jan 2012 12:47:51 +0100
Quoted 9 lines
Otherwise the output looks like this:
...
STMMAC - user ID:0x10, Synopsys ID:0x32
No HW DMA feature register supported
Normal descriptors
Remote wake-up capable
Checksum Offload Engine supported
No MAC Management Counters availableIP-Config: Complete:
Quoted 5 lines
device=eth0, addr=192.168.20.42, mask=255.255.0.0, gw=192.168.1.254,...
Signed-off-by Stefan Roese <[email protected]>Cc Giuseppe Cavallaro <[email protected]>
Applied.