Skip to content

Commit e6aaeaf

Browse files
tititiou36kuba-moo
authored andcommitted
net: ethernet: ti: Add missing '\n' in log messages
Message logged by 'dev_xxx()' or 'pr_xxx()' should end with a '\n'. Fixes: 93a7653 ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 2ba5389 commit e6aaeaf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/net/ethernet/ti/am65-cpsw-nuss.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ static int am65_cpsw_nuss_init_tx_chns(struct am65_cpsw_common *common)
13721372
err:
13731373
i = devm_add_action(dev, am65_cpsw_nuss_free_tx_chns, common);
13741374
if (i) {
1375-
dev_err(dev, "failed to add free_tx_chns action %d", i);
1375+
dev_err(dev, "Failed to add free_tx_chns action %d\n", i);
13761376
return i;
13771377
}
13781378

@@ -1481,7 +1481,7 @@ static int am65_cpsw_nuss_init_rx_chns(struct am65_cpsw_common *common)
14811481
err:
14821482
i = devm_add_action(dev, am65_cpsw_nuss_free_rx_chns, common);
14831483
if (i) {
1484-
dev_err(dev, "failed to add free_rx_chns action %d", i);
1484+
dev_err(dev, "Failed to add free_rx_chns action %d\n", i);
14851485
return i;
14861486
}
14871487

@@ -1691,7 +1691,7 @@ static int am65_cpsw_nuss_init_ndev_2g(struct am65_cpsw_common *common)
16911691
ret = devm_add_action_or_reset(dev, am65_cpsw_pcpu_stats_free,
16921692
ndev_priv->stats);
16931693
if (ret) {
1694-
dev_err(dev, "failed to add percpu stat free action %d", ret);
1694+
dev_err(dev, "Failed to add percpu stat free action %d\n", ret);
16951695
return ret;
16961696
}
16971697

0 commit comments

Comments
 (0)