Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp285928lqp; Tue, 11 Jun 2024 04:48:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVWSu1QrW26FrR+rVh4gP63qObj2wlLsXV1wDAhuU7olxOriKu4tjeIrFcPlAieuzMJXxo5llW6LB2L4nbU3rFsGMk3rz5HNRY4bvVyqA== X-Google-Smtp-Source: AGHT+IEjSrWg522zTmVT++LYaKFWzw6iAwMpIfN/OXtb6fmxziPVr6bcZjJaxr0MJYBtjpyxZqwF X-Received: by 2002:a05:6808:1812:b0:3d2:16c8:64fb with SMTP id 5614622812f47-3d216c86e1fmr12065116b6e.4.1718106504174; Tue, 11 Jun 2024 04:48:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718106504; cv=pass; d=google.com; s=arc-20160816; b=vzEnllhoowzKz+kbDw6S/EsyHJpQhs5qj6WU6TdboFFYKw3NHTfSO2+zbyjLHiDGlv RS0f2jMb3rNuJM/uj5ZXX5Q0GZwJ0wtgZR4pXjRxUCnFhERm5cetPW9y8czIaNJuo+t5 SwQasvvd3LH2kzuwIeWGFjyAegpvJZYg3BMZLNuV5jgscUD6PS3V4W8c9FOKaoFc6Z4I weyfi9DdObccnxyd0ieiA77zeDWggH6NjZJGSqDaILPkcJNDo2utmAt/GR4szb/1FK2I WPTPpbKu1s+w2+8gECE2GRdF/V1X72qbwptYVfhKvdKeJucdoTzhj0XtM6liLYZW+/Y8 6tIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=Q7vJYI794t8yFOWqw7e9233uWxSZQ5JG1WiKDMH+Ia4=; fh=Lh+JMPZo65h8qJAnE5jHWvKtvWM25xS7kSTjy8t+qRE=; b=UCz3j49kSYGstaGwhhtFOF58E3Zc+iIZhep/SjZkUNZH+ob8ZIZl1gCM2HC1bXwUHS dPprZBESoAIQW/rpYgoPf1in0ug70N04jSNINBjVJKCkjwN7XXHyeJmtJp63A0CTHCfe L6JpMHk/f0wMAezwVgU9tFxMjlD9LbS5gGE38Nt7+yBQSn0cuwOHp00QxmZ/X7LWq1no 4t48/J60e59TR8VVENbiXsPmmBM2Wj/Gknnd1v4Lbsbkwma1T5P1Dt3rZUBWimRANY/I K+961xARru+1IflpmS4MM9EYpLKCg+r7Ulbeqp+aiArDZLcsEUp4YDhA1RteYpl4RaTL KQAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-209783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209783-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-441547870e3si5683261cf.774.2024.06.11.04.48.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:48:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=dev.tdt.de); spf=pass (google.com: domain of linux-kernel+bounces-209783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209783-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 902EB1C23C46 for ; Tue, 11 Jun 2024 11:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5D0D17D35C; Tue, 11 Jun 2024 11:41:14 +0000 (UTC) Received: from mxout70.expurgate.net (mxout70.expurgate.net [91.198.224.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B56C017C237; Tue, 11 Jun 2024 11:41:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.198.224.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106074; cv=none; b=kz+7n97O4mee4mf429vYc1uWvFWxxdnTRsQG5uQFHlsiidhl72htuWm9I2TsA5lcRhbc9YaHqcueuqDaQzzcRaStgCFPpje29PpaJ6IfPg7u6TuqyZY+1GzcijAVI84myOEsZIb0aK6NRiZ+1PygLJ6rgiLeWHhyaXfHrIusQD8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718106074; c=relaxed/simple; bh=D3oVcUtkTVq+/7cDht2gnLzzOfcwH0UaOWGZGd6x1lY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=BbXwTW7w5Vlnd16cc5oD+iAaEa1pbAvcW63JvCt7FNYnnFbg+oeYVTVBrs5jdXcERhP6/w26s7HJDaxQk2htq3og/Qwf2PdUMBrtXPjcCrNSDEICFowvbh+g+TyxrA4qV9ZgpB+8h/sSu/UThv2KujMP2LL+KD6VCTlkYhJr3oo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de; spf=pass smtp.mailfrom=dev.tdt.de; arc=none smtp.client-ip=91.198.224.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dev.tdt.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dev.tdt.de Received: from [127.0.0.1] (helo=localhost) by relay.expurgate.net with smtp (Exim 4.92) (envelope-from ) id 1sGzsE-002Yus-LL; Tue, 11 Jun 2024 13:41:10 +0200 Received: from [195.243.126.94] (helo=securemail.tdt.de) by relay.expurgate.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sGzsE-0026lJ-2u; Tue, 11 Jun 2024 13:41:10 +0200 Received: from securemail.tdt.de (localhost [127.0.0.1]) by securemail.tdt.de (Postfix) with ESMTP id C225B240054; Tue, 11 Jun 2024 13:41:09 +0200 (CEST) Received: from mail.dev.tdt.de (unknown [10.2.4.42]) by securemail.tdt.de (Postfix) with ESMTP id 5996F240053; Tue, 11 Jun 2024 13:41:09 +0200 (CEST) Received: from mschiller1.dev.tdt.de (unknown [10.2.3.20]) by mail.dev.tdt.de (Postfix) with ESMTPSA id 4F50229768; Tue, 11 Jun 2024 13:41:08 +0200 (CEST) From: Martin Schiller To: martin.blumenstingl@googlemail.com, hauke@hauke-m.de, andrew@lunn.ch, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ms@dev.tdt.de Subject: [PATCH net-next v4 04/13] net: dsa: lantiq_gswip: add terminating \n where missing Date: Tue, 11 Jun 2024 13:40:18 +0200 Message-ID: <20240611114027.3136405-5-ms@dev.tdt.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240611114027.3136405-1-ms@dev.tdt.de> References: <20240611114027.3136405-1-ms@dev.tdt.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-purgate-type: clean X-purgate-ID: 151534::1718106070-1FC4AD11-FA210B62/0/0 X-purgate: clean Some dev_err are missing the terminating \n. Let's add that. Suggested-by: Vladimir Oltean Signed-off-by: Martin Schiller Reviewed-by: Andrew Lunn --- drivers/net/dsa/lantiq_gswip.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/dsa/lantiq_gswip.c b/drivers/net/dsa/lantiq_gswi= p.c index b9c7076ce32f..fe64baf0d7f1 100644 --- a/drivers/net/dsa/lantiq_gswip.c +++ b/drivers/net/dsa/lantiq_gswip.c @@ -836,7 +836,7 @@ static int gswip_setup(struct dsa_switch *ds) =20 err =3D gswip_pce_load_microcode(priv); if (err) { - dev_err(priv->dev, "writing PCE microcode failed, %i", err); + dev_err(priv->dev, "writing PCE microcode failed, %i\n", err); return err; } =20 @@ -1792,7 +1792,7 @@ static u32 gswip_bcm_ram_entry_read(struct gswip_pr= iv *priv, u32 table, err =3D gswip_switch_r_timeout(priv, GSWIP_BM_RAM_CTRL, GSWIP_BM_RAM_CTRL_BAS); if (err) { - dev_err(priv->dev, "timeout while reading table: %u, index: %u", + dev_err(priv->dev, "timeout while reading table: %u, index: %u\n", table, index); return 0; } @@ -2021,7 +2021,7 @@ static void gswip_gphy_fw_remove(struct gswip_priv = *priv, =20 ret =3D regmap_write(priv->rcu_regmap, gphy_fw->fw_addr_offset, 0); if (ret) - dev_err(priv->dev, "can not reset GPHY FW pointer"); + dev_err(priv->dev, "can not reset GPHY FW pointer\n"); =20 clk_disable_unprepare(gphy_fw->clk_gate); =20 @@ -2050,7 +2050,7 @@ static int gswip_gphy_fw_list(struct gswip_priv *pr= iv, priv->gphy_fw_name_cfg =3D &xrx200a2x_gphy_data; break; default: - dev_err(dev, "unknown GSWIP version: 0x%x", version); + dev_err(dev, "unknown GSWIP version: 0x%x\n", version); return -ENOENT; } } @@ -2060,7 +2060,7 @@ static int gswip_gphy_fw_list(struct gswip_priv *pr= iv, priv->gphy_fw_name_cfg =3D match->data; =20 if (!priv->gphy_fw_name_cfg) { - dev_err(dev, "GPHY compatible type not supported"); + dev_err(dev, "GPHY compatible type not supported\n"); return -ENOENT; } =20 @@ -2163,7 +2163,7 @@ static int gswip_probe(struct platform_device *pdev= ) return -EINVAL; break; default: - dev_err(dev, "unknown GSWIP version: 0x%x", version); + dev_err(dev, "unknown GSWIP version: 0x%x\n", version); return -ENOENT; } =20 @@ -2191,7 +2191,7 @@ static int gswip_probe(struct platform_device *pdev= ) goto gphy_fw_remove; } if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { - dev_err(dev, "wrong CPU port defined, HW only supports port: %i", + dev_err(dev, "wrong CPU port defined, HW only supports port: %i\n", priv->hw_info->cpu_port); err =3D -EINVAL; goto disable_switch; --=20 2.39.2