Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CD0EC433F5 for ; Tue, 3 May 2022 08:29:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3795183E51; Tue, 3 May 2022 10:29:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eG3k69xc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7468183E53; Tue, 3 May 2022 10:29:28 +0200 (CEST) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5AB9683D7E for ; Tue, 3 May 2022 10:29:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pbrobinson@gmail.com Received: by mail-ed1-x52e.google.com with SMTP id z19so19014108edx.9 for ; Tue, 03 May 2022 01:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Xd8c9c1ot0Le6Bco4YzQoiITtOOwrpz/6ls67YbVj9g=; b=eG3k69xcdM0U+6wURdsl9jXZrcwBIswtKJCNd3tdpm1LCXf7qJgkSaztYgGa3GSJly xOYIw7p2lETjbm2P6FNp86qFG8xLuoyzzp9xKQt3wwL1ZE8F6t5b6JLddA08+Q9Ihont hP/ETeHJFpko9D7fO8IMZIKDwpRCHR6diPCC+IyfNz7xfslpKfx54xZczy3+ZyyrDli5 3rU10iuqYVZ1FNcv9/gW8IsCzpI9OygmfXE29lDGeTN/gJmcFGm7eIKFXkakjSf90jTD AMUI4Cx9dECOnmWFyHb2KonfuiHkguvxzxkBiPmH+/ZexBGInm3hzYz4iHxcX7LITCO8 3Ugw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Xd8c9c1ot0Le6Bco4YzQoiITtOOwrpz/6ls67YbVj9g=; b=lUvD4buY17/WPMWyN5l5rISEE8u6IJYz9+KgVh54zfklnV67cPnjd7fT42Md02FXWY t6lJ3CPIe8Ta6pqejYVbt/D4r8fcjcKlrZJG/x8WFK039x22hZ3YGP/pXRTt8LeFXtSc GDv0jHhx4xkJzYMyAFdw1bk4/kpnePelxftshHGJF9MastWst2CNAdd3xMVbrTSVE1WO 689ESlP4ScUmImJ/MJ24tfNwOViHxTj3K/aOrU81rq58APc1XON+SW0J47G+U0LVGOSg B0tvq652R6A3+xsAWxvkR1eblA5DjrAM5cHfoPuGFvtaefG04HQB+mfqkpf0maMxtPk0 4mHA== X-Gm-Message-State: AOAM530MjYVJ4WXSZ9aAE/G/9CJm4DtIGtwtl0Xv9wDnbu/sBVfKfXaG bx8H98G8apNmkNn7wFY1HtNFvfqwr6A= X-Google-Smtp-Source: ABdhPJzLqVxR6JoxQF+y2o8YEdfKd/l6gRf3E7l8UI2PSKZJBKftvo1B7y5l2auPbS8QWaaoBYMnJQ== X-Received: by 2002:a50:ff06:0:b0:426:4913:f534 with SMTP id a6-20020a50ff06000000b004264913f534mr17030705edu.332.1651566564825; Tue, 03 May 2022 01:29:24 -0700 (PDT) Received: from morpheus.home.roving-it.com (8.9.f.1.a.a.9.f.e.7.9.e.7.1.a.7.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:7a17:e97e:f9aa:1f98]) by smtp.googlemail.com with ESMTPSA id r20-20020aa7da14000000b0042617ba63cdsm7525944eds.87.2022.05.03.01.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 May 2022 01:29:24 -0700 (PDT) From: Peter Robinson To: Tom Warren , u-boot@lists.denx.de Cc: Peter Robinson Subject: [PATCH 1/2] ARM: tegra: XUSB padctl: Add new lines for errors Date: Tue, 3 May 2022 09:29:21 +0100 Message-Id: <20220503082922.290714-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Add new lines for error messages to make them easier to read. Signed-off-by: Peter Robinson --- arch/arm/mach-tegra/xusb-padctl-common.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-tegra/xusb-padctl-common.c b/arch/arm/mach-tegra/xusb-padctl-common.c index e56e27c8b6e..8bdd44ad7ac 100644 --- a/arch/arm/mach-tegra/xusb-padctl-common.c +++ b/arch/arm/mach-tegra/xusb-padctl-common.c @@ -84,7 +84,7 @@ tegra_xusb_padctl_group_parse_dt(struct tegra_xusb_padctl *padctl, len = ofnode_read_string_count(node, "nvidia,lanes"); if (len < 0) { - pr_err("failed to parse \"nvidia,lanes\" property"); + pr_err("failed to parse \"nvidia,lanes\" property\n"); return -EINVAL; } @@ -94,7 +94,7 @@ tegra_xusb_padctl_group_parse_dt(struct tegra_xusb_padctl *padctl, ret = ofnode_read_string_index(node, "nvidia,lanes", i, &group->pins[i]); if (ret) { - pr_err("failed to read string from \"nvidia,lanes\" property"); + pr_err("failed to read string from \"nvidia,lanes\" property\n"); return -EINVAL; } } @@ -104,7 +104,7 @@ tegra_xusb_padctl_group_parse_dt(struct tegra_xusb_padctl *padctl, ret = ofnode_read_string_index(node, "nvidia,function", 0, &group->func); if (ret) { - pr_err("failed to parse \"nvidia,func\" property"); + pr_err("failed to parse \"nvidia,func\" property\n"); return -EINVAL; } @@ -232,7 +232,7 @@ tegra_xusb_padctl_config_parse_dt(struct tegra_xusb_padctl *padctl, err = tegra_xusb_padctl_group_parse_dt(padctl, group, subnode); if (err < 0) { - pr_err("failed to parse group %s", group->name); + pr_err("failed to parse group %s\n", group->name); return err; } @@ -261,7 +261,7 @@ static int tegra_xusb_padctl_parse_dt(struct tegra_xusb_padctl *padctl, err = tegra_xusb_padctl_config_parse_dt(padctl, config, subnode); if (err < 0) { - pr_err("failed to parse entry %s: %d", + pr_err("failed to parse entry %s: %d\n", config->name, err); continue; } @@ -289,7 +289,7 @@ int tegra_xusb_process_nodes(ofnode nodes[], unsigned int count, err = tegra_xusb_padctl_parse_dt(&padctl, nodes[i]); if (err < 0) { - pr_err("failed to parse DT: %d", err); + pr_err("failed to parse DT: %d\n", err); continue; } -- 2.36.0