Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp982138ybl; Tue, 13 Aug 2019 05:45:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWn4+hNOzipRQ7G+6O7l5X7KhNWEu4F3fasjXcI/OrtraG3tPDT5zm4fwWERd8cEZAQMfc X-Received: by 2002:a17:902:5a5:: with SMTP id f34mr22896529plf.178.1565700332808; Tue, 13 Aug 2019 05:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565700332; cv=none; d=google.com; s=arc-20160816; b=DjryOeWe5+s/H1s9oRSAIX72touMc3yVGMvPVKbQ+83jKJGqXnHzSEhjvsC5eB+MXY lT8hFW/KYQQIKb9yE4Jh3sa+yJGajpoHirV7ppxmVspZh2/MRbyWMh5NSZYMwT4FqIf0 YUgLy3XLk+WUtlSB0xhOg26tllKFRqedSOZ4OepDghmxN7QP9Z3TEmad7TlQLFzMh8DJ bZWc1Uok5ROHyb+1BWohpekx0M2KzCmNFROTfbvqQMhmxHuFhrb06Mtp31wF8kpK+PrW nNHNfkoe+j103T6xq1RuHacNOzdasy8lbQhZ3CpsI1m52RTKeJhVimd/vujJ6NzwVGER 0ezw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from; bh=javfIdLx3ppjt/pM+rlPP2kudFOEgoI1AUDJqYH+no0=; b=rtWeXbvttle4E54/AN5acaQoxaeD8wcW/KILCDdT6acYrNrRFtNpjRSX033KOnOcNS C09Olo15Nwcu2M8OuvDXn/Id0+a9YSRbkuhiZH4NEyA08Q35ymPZ8a0iT1XyMmP7I9U0 h0eRAlucx38FuODErw5fYs6xIAF80layxthsqwjrUcXCwrxVVNK2/sgo+DBdW3wBcTyA DmHZ4srYsud2+ZUQcW8cz5P9nLFlAYgSBM47Wl7byocQ3F+pr4EjVEVBPFixV1GbDKcz aO8JtEhiIswtasPbXVk8ZQeb3gMbKmuV57AJvi4I5IHueZYO01+YiaRBj+6K6wT/cWv4 KrtQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a26si71661836pgb.276.2019.08.13.05.45.17; Tue, 13 Aug 2019 05:45:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728659AbfHMMno (ORCPT + 99 others); Tue, 13 Aug 2019 08:43:44 -0400 Received: from inva021.nxp.com ([92.121.34.21]:51586 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728412AbfHMMnP (ORCPT ); Tue, 13 Aug 2019 08:43:15 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E466720079D; Tue, 13 Aug 2019 14:43:12 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D7B9420078C; Tue, 13 Aug 2019 14:43:12 +0200 (CEST) Received: from fsr-ub1464-137.ea.freescale.net (fsr-ub1464-137.ea.freescale.net [10.171.82.114]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 963682060E; Tue, 13 Aug 2019 14:43:12 +0200 (CEST) From: Ioana Ciornei To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: joe@perches.com, andrew@lunn.ch, ruxandra.radulescu@nxp.com, Ioana Ciornei Subject: [PATCH v3 03/10] staging: fsl-dpaa2/ethsw: add line terminator to all formats Date: Tue, 13 Aug 2019 15:43:00 +0300 Message-Id: <1565700187-16048-4-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1565700187-16048-1-git-send-email-ioana.ciornei@nxp.com> References: <1565700187-16048-1-git-send-email-ioana.ciornei@nxp.com> Reply-to: ioana.ciornei@nxp.com X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the '\n' line terminator to the string formats missing it. Reported-by: Joe Perches Signed-off-by: Ioana Ciornei --- Changes in v2: - added Reported-by tag Changes in v3: - none drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c | 2 +- drivers/staging/fsl-dpaa2/ethsw/ethsw.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c index 926a0c053e18..95e9f1096999 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw-ethtool.c @@ -65,7 +65,7 @@ static void ethsw_get_drvinfo(struct net_device *netdev, port_priv->idx, &state); if (err) { - netdev_err(netdev, "ERROR %d getting link state", err); + netdev_err(netdev, "ERROR %d getting link state\n", err); goto out; } diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index 302842c3bdfe..9ade73928e60 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -722,12 +722,12 @@ static irqreturn_t ethsw_irq0_handler_thread(int irq_num, void *arg) err = dpsw_get_irq_status(ethsw->mc_io, 0, ethsw->dpsw_handle, DPSW_IRQ_INDEX_IF, &status); if (err) { - dev_err(dev, "Can't get irq status (err %d)", err); + dev_err(dev, "Can't get irq status (err %d)\n", err); err = dpsw_clear_irq_status(ethsw->mc_io, 0, ethsw->dpsw_handle, DPSW_IRQ_INDEX_IF, 0xFFFFFFFF); if (err) - dev_err(dev, "Can't clear irq status (err %d)", err); + dev_err(dev, "Can't clear irq status (err %d)\n", err); goto out; } @@ -772,21 +772,21 @@ static int ethsw_setup_irqs(struct fsl_mc_device *sw_dev) IRQF_NO_SUSPEND | IRQF_ONESHOT, dev_name(dev), dev); if (err) { - dev_err(dev, "devm_request_threaded_irq(): %d", err); + dev_err(dev, "devm_request_threaded_irq(): %d\n", err); goto free_irq; } err = dpsw_set_irq_mask(ethsw->mc_io, 0, ethsw->dpsw_handle, DPSW_IRQ_INDEX_IF, mask); if (err) { - dev_err(dev, "dpsw_set_irq_mask(): %d", err); + dev_err(dev, "dpsw_set_irq_mask(): %d\n", err); goto free_devm_irq; } err = dpsw_set_irq_enable(ethsw->mc_io, 0, ethsw->dpsw_handle, DPSW_IRQ_INDEX_IF, 1); if (err) { - dev_err(dev, "dpsw_set_irq_enable(): %d", err); + dev_err(dev, "dpsw_set_irq_enable(): %d\n", err); goto free_devm_irq; } -- 1.9.1