Skip to contentSkip to conversation

stmmac: Add missing LF to pr_info() in stmmac_main.c

PATCH Applied Stefan Roese 3 participants 3 messages Jan 10, 2012

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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,

...

Cc Giuseppe Cavallaro <[email protected]>
---
 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
index 3738b47..ee85a14 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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,

...

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
index 3738b47..ee85a14 100644
@@ -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)
maintainer Applied
#2 lore raw
In reply to Stefan Roese

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,

...

Cc Giuseppe Cavallaro <[email protected]>

Applied.