Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751804AbdFFPCe (ORCPT ); Tue, 6 Jun 2017 11:02:34 -0400 Received: from mail-sn1nam01on0044.outbound.protection.outlook.com ([104.47.32.44]:48685 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751482AbdFFPAw (ORCPT ); Tue, 6 Jun 2017 11:00:52 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 05/18] staging: fsl-dpaa2/eth: Add error message newlines Date: Tue, 6 Jun 2017 10:00:28 -0500 Message-ID: <20170606150041.10955-6-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> References: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131412348453185945;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39860400002)(39450400003)(39850400002)(39840400002)(39410400002)(39380400002)(39400400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(2950100002)(2906002)(77096006)(6916009)(54906002)(4326008)(15650500001)(53936002)(38730400002)(110136004)(47776003)(50986999)(76176999)(189998001)(6666003)(39060400002)(85426001)(8656002)(86362001)(33646002)(50466002)(81166006)(8676002)(8936002)(50226002)(36756003)(104016004)(498600001)(5003940100001)(7416002)(5660300001)(305945005)(48376002)(1076002)(356003)(2351001)(106466001)(105606002);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2PR03MB163;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC007;1:W2EuVgSnWByLHNgmYm4nXu6BbgspKvCQkJjSNbt9QyDPQQ/qyJM+H/RE4b2VwKrumVmZ+Ip+OXX+Ou19ACcvfVP3jS5SWgz6xmZhF2G1y22u4SM6Hdk+wzTaAglbCtvpWKVCWTdkLgTDzP/SYRhbZNsOA17KK8QCWAtCyezu7rzbAwiIjdMDdfPjiRZoUnUcRFoZgdvJZaHt4ZdlC7VFhIGe4asqHTRkKZ0BrXfc5yJkIaE4hXKx5P8fMQ5egf+yrhGO+yNYlNXQ8gejoKEzJiaG5c5tGmlFVYYTZcC7NVfvLvfXNw7bTR0edXe3hsFk41U079dNcP+a49n96RM/wh2CjNF/PnGlzBM+x/oteOf0mZ1YwAeTdnmsLvF9esojDhB2tndpaYl54L761Uo8+nW+vlOL2q/Od0nQ3cFJWN37hPpsyA0b952KJoZKPR/V/TLPYLzqhGzvSvlUAZ5bhcLcd9SXuI/yQkYZkSU0jx5QFF2aN4NH++6TJEXzZjJGY+Zl6ADB/iJzxqY4zwsFz0jq+YLqphqMpvWeOCqZBx1fishWEAX5QnWryZ1peYMfdGrSkLUrUIVc81PuaRo+wL0z68UDZn1T8G2JvBsjRabc4QCnJLjKgJh2FGZ0B09Kj6Hr24+BYM+gHwzjBrSqy3WwR9FaHgqvSVZDPjVTBt6yNf7hNfnNNzicW7n0IzpF MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL2PR03MB163: X-MS-Office365-Filtering-Correlation-Id: 696b61d5-aed5-45b7-dea1-08d4aceccf0a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BL2PR03MB163; X-Microsoft-Exchange-Diagnostics: 1;BL2PR03MB163;3:b+70m31ax3heLK0wNiFtN5sNWbRhPcEwDZWhFLzC7A1d4u9u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rDwM83JuxPZSIz+xY+zN5Hn9ZEiw0iahgDfVgFT+VtM0dWyHG0SIEt4aESMKrYFBlS8LCcz+WTC+Re4WSxD6J6MPqxk6VMdj37U1t+UjU1wAa2+pAuPziZA8qhJnqqCtcVwucMZMKQqL+XiACVbZe9G9W9S+ttXC+k= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13018025)(13016025)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123559100)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123565025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BL2PR03MB163;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BL2PR03MB163; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB163;4:Q/TaAHQ8s2jkOL8Fp7nLtHUaQMRyF82SBCwea+o6dU5?= =?us-ascii?Q?gp4rronrzQwtsNy5cvdkj8rjHl+yo0VucHJkFIrxbmnN9YrBogZkOFg1sTKp?= =?us-ascii?Q?oWpBBivFPU+EzcVT/IHm7LWPgVlmXUjK8G4vrUmYP68FOXTK3oKR1WJLe3Ti?= =?us-ascii?Q?i1Vnuz+KtnH7pAJtAQPLtr7roLbRo0OjjTCp761HfplygGtGWGic2cdWExlp?= =?us-ascii?Q?J/OES1LLY6nL+vz/axHti0Ho7w35+Bgr5c7xNqopYWQ0P6RzxEDIokvvvboV?= =?us-ascii?Q?npBVtyeKcaJieuKI/JdKvCUs05kV5sM7/pEzdfsjAsISiZAuXO7SsCeXza4J?= =?us-ascii?Q?+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CApeA07C0xDy6WOCsR?= =?us-ascii?Q?t9/Qh+KGZdjgW94K7xPuHJT+2YV7IBiAhBBI9?= X-Forefront-PRVS: 033054F29A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2PR03MB163;23:vLvKftMxfchbIGKMC0vXJA5qQAF495tYwuoOWozMdB?= =?us-ascii?Q?21uFGhllPvBZWM+giSMpAngb5+EW0PDxOfr5Yc4S9v70pnafeo9sQBfXhnSc?= =?us-ascii?Q?/Qj2OOIPJg3ik12nz7BsRhTUhw/nQmh23moZtyzF6xKwL8OmoeQ9qqtotf2K?= =?us-ascii?Q?I/TyZR3Cs6Yd+22RV3T7ndHD3HH7WaSKoHefHrRPFUatygr1zStkxhxMsiwj?= =?us-ascii?Q?nZwVgewkfjlBk96LLCFtIOhFDblkJ+vc9Rn4RSaAhVa7K/nOfPMMIBWCPNNA?= =?us-ascii?Q?GawCrvFn2r8dMfhtcPwgFI4EtcAJZcc1WJ28w+b90gwjrIpzkfceDggrItGX?= =?us-ascii?Q?lJO1ckYvNj9rNm2ShI60hcd6+wVEwPRjHqqp3OjJBDbW3CVGY1suNXF43N8s?= =?us-ascii?Q?OY3ovfrclwXGKzOyOCZYqnI1CreeTNVYDXUFQtWKdTS2/cDchciZwEwbkAnU?= =?us-ascii?Q?MOstZVGqA7NBfnOEz/PxPkIy4e59hZETT1ITjqJTRpMmX4Mp4uIhGSIV0Hfc?= =?us-ascii?Q?LEJRPj4Uxx31uOgW2M7+rCjgJTVjBBZ0XvWkGHfORXr8Ppcg8014aXTRscTP?= =?us-ascii?Q?odKrTZxwm6MWa3Eb9y0PGInYaW1IxvJnhVr1ZFkpFbvwmwk2bGKVu8TegnDe?= =?us-ascii?Q?fm9wp3MCNNZMxzkKz/EIrcD47M00bioAv4GvJVB3oPlHGjn54P/1ZD+UIAEB?= =?us-ascii?Q?elYWLC/Q87FvWPCVqQcKgFu8t36G/O+ipdRNaQCCgOOCAEv8lq38aADBY9nJ?= =?us-ascii?Q?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Zc6KeCBAjAB1GCdAM+tnqT3bOdoXAGP8MKy7NWt2UxvLmW+VKvaGBbAJj6dFEXSOQSWZK2S+uGaBHEQosvl3Xlh1GdC2A4ZhHZ0Of2/BbqkGx48nZ/QV2FkWMvVwPU75PVHq96CDzBBPm9J1c08dR0H678LIYJ5NB7A1xshD54Wxgio37XN0JcVOu0m+akrptMS86v1EjGObeDk6OckvSg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:44.9909 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB163 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4097 Lines: 107 A few error/warning messages lacked a newline at the end of the text. Add it for improved consistency and cosmetics. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 14 +++++++------- drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index f63054e071b3..c4252f47d57d 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -975,7 +975,7 @@ static int link_state_update(struct dpaa2_eth_priv *priv) netif_carrier_off(priv->net_dev); } - netdev_info(priv->net_dev, "Link Event: state %s", + netdev_info(priv->net_dev, "Link Event: state %s\n", state.up ? "up" : "down"); return 0; @@ -1806,7 +1806,7 @@ static int setup_dpni(struct fsl_mc_device *ls_dev) } if ((priv->tx_data_offset % 64) != 0) - dev_warn(dev, "Tx data offset (%d) not a multiple of 64B", + dev_warn(dev, "Tx data offset (%d) not a multiple of 64B\n", priv->tx_data_offset); /* Accommodate software annotation space (SWA) */ @@ -2002,7 +2002,7 @@ static int dpaa2_eth_set_hash(struct net_device *net_dev, u64 flags) err = dpni_prepare_key_cfg(&cls_cfg, dma_mem); if (err) { - dev_err(dev, "dpni_prepare_key_cfg error %d", err); + dev_err(dev, "dpni_prepare_key_cfg error %d\n", err); goto err_prep_key; } @@ -2261,7 +2261,7 @@ static irqreturn_t dpni_irq0_handler_thread(int irq_num, void *arg) err = dpni_get_irq_status(dpni_dev->mc_io, 0, dpni_dev->mc_handle, DPNI_IRQ_INDEX, &status); if (unlikely(err)) { - netdev_err(net_dev, "Can't get irq status (err %d)", err); + netdev_err(net_dev, "Can't get irq status (err %d)\n", err); clear = 0xffffffff; goto out; } @@ -2295,21 +2295,21 @@ static int setup_irqs(struct fsl_mc_device *ls_dev) IRQF_NO_SUSPEND | IRQF_ONESHOT, dev_name(&ls_dev->dev), &ls_dev->dev); if (err < 0) { - dev_err(&ls_dev->dev, "devm_request_threaded_irq(): %d", err); + dev_err(&ls_dev->dev, "devm_request_threaded_irq(): %d\n", err); goto free_mc_irq; } err = dpni_set_irq_mask(ls_dev->mc_io, 0, ls_dev->mc_handle, DPNI_IRQ_INDEX, DPNI_IRQ_EVENT_LINK_CHANGED); if (err < 0) { - dev_err(&ls_dev->dev, "dpni_set_irq_mask(): %d", err); + dev_err(&ls_dev->dev, "dpni_set_irq_mask(): %d\n", err); goto free_irq; } err = dpni_set_irq_enable(ls_dev->mc_io, 0, ls_dev->mc_handle, DPNI_IRQ_INDEX, 1); if (err < 0) { - dev_err(&ls_dev->dev, "dpni_set_irq_enable(): %d", err); + dev_err(&ls_dev->dev, "dpni_set_irq_enable(): %d\n", err); goto free_irq; } diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c index 89888b6115bf..6a331c74e542 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c @@ -94,7 +94,7 @@ dpaa2_eth_get_link_ksettings(struct net_device *net_dev, err = dpni_get_link_state(priv->mc_io, 0, priv->mc_token, &state); if (err) { - netdev_err(net_dev, "ERROR %d getting link state", err); + netdev_err(net_dev, "ERROR %d getting link state\n", err); goto out; } @@ -147,7 +147,7 @@ dpaa2_eth_set_link_ksettings(struct net_device *net_dev, /* ethtool will be loud enough if we return an error; no point * in putting our own error message on the console by default */ - netdev_dbg(net_dev, "ERROR %d setting link cfg", err); + netdev_dbg(net_dev, "ERROR %d setting link cfg\n", err); return err; } @@ -206,7 +206,7 @@ static void dpaa2_eth_get_ethtool_stats(struct net_device *net_dev, err = dpni_get_statistics(priv->mc_io, 0, priv->mc_token, j, &dpni_stats); if (err != 0) - netdev_warn(net_dev, "dpni_get_stats(%d) failed", j); + netdev_warn(net_dev, "dpni_get_stats(%d) failed\n", j); switch (j) { case 0: num_cnt = sizeof(dpni_stats.page_0) / sizeof(u64); -- 2.11.0