All of lore.kernel.org
 help / color / mirror / Atom feed
From: Priit Laes <plaes@plaes.org>
To: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-clk@vger.kernel.org
Cc: linux-sunxi@googlegroups.com, Icenowy Zheng <icenowy@aosc.xyz>,
	Russell King <linux@armlinux.org.uk>,
	Chen-Yu Tsai <wens@csie.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Rob Herring <robh+dt@kernel.org>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Priit Laes <plaes@plaes.org>
Subject: [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails
Date: Sun, 26 Mar 2017 20:20:21 +0300	[thread overview]
Message-ID: <c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org> (raw)
In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org>
In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org>

Add clock index to clock registration failure message.

Signed-off-by: Priit Laes <plaes@plaes.org>
---
 drivers/clk/sunxi-ng/ccu_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c
index 8a47baf..188fa50 100644
--- a/drivers/clk/sunxi-ng/ccu_common.c
+++ b/drivers/clk/sunxi-ng/ccu_common.c
@@ -63,8 +63,8 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg,
 
 		ret = clk_hw_register(NULL, hw);
 		if (ret) {
-			pr_err("Couldn't register clock %s\n",
-			       clk_hw_get_name(hw));
+			pr_err("Couldn't register clock %d - %s\n",
+			       i, clk_hw_get_name(hw));
 			goto err_clk_unreg;
 		}
 	}
-- 
git-series 0.9.1

WARNING: multiple messages have this Message-ID (diff)
From: Priit Laes <plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>
To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Icenowy Zheng <icenowy-ymACFijhrKM@public.gmane.org>,
	Russell King <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	Maxime Ripard
	<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Stephen Boyd <sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Michael Turquette
	<mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>,
	Philipp Zabel <p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Priit Laes <plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>
Subject: [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails
Date: Sun, 26 Mar 2017 20:20:21 +0300	[thread overview]
Message-ID: <c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org> (raw)
In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>
In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>

Add clock index to clock registration failure message.

Signed-off-by: Priit Laes <plaes-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org>
---
 drivers/clk/sunxi-ng/ccu_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c
index 8a47baf..188fa50 100644
--- a/drivers/clk/sunxi-ng/ccu_common.c
+++ b/drivers/clk/sunxi-ng/ccu_common.c
@@ -63,8 +63,8 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg,
 
 		ret = clk_hw_register(NULL, hw);
 		if (ret) {
-			pr_err("Couldn't register clock %s\n",
-			       clk_hw_get_name(hw));
+			pr_err("Couldn't register clock %d - %s\n",
+			       i, clk_hw_get_name(hw));
 			goto err_clk_unreg;
 		}
 	}
-- 
git-series 0.9.1

WARNING: multiple messages have this Message-ID (diff)
From: plaes@plaes.org (Priit Laes)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails
Date: Sun, 26 Mar 2017 20:20:21 +0300	[thread overview]
Message-ID: <c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org> (raw)
In-Reply-To: <cover.a58841efb571d44013658505f3fa140536a89d1c.1490545262.git-series.plaes@plaes.org>

Add clock index to clock registration failure message.

Signed-off-by: Priit Laes <plaes@plaes.org>
---
 drivers/clk/sunxi-ng/ccu_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c
index 8a47baf..188fa50 100644
--- a/drivers/clk/sunxi-ng/ccu_common.c
+++ b/drivers/clk/sunxi-ng/ccu_common.c
@@ -63,8 +63,8 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg,
 
 		ret = clk_hw_register(NULL, hw);
 		if (ret) {
-			pr_err("Couldn't register clock %s\n",
-			       clk_hw_get_name(hw));
+			pr_err("Couldn't register clock %d - %s\n",
+			       i, clk_hw_get_name(hw));
 			goto err_clk_unreg;
 		}
 	}
-- 
git-series 0.9.1

  parent reply	other threads:[~2017-03-26 17:22 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-26 17:20 [PATCH v2 0/6] ARM: sunxi: Convert sun4i/sun7i series SoCs to sunxi-ng Priit Laes
2017-03-26 17:20 ` Priit Laes
2017-03-26 17:20 ` Priit Laes
2017-03-26 17:20 ` [PATCH v2 1/6] clk: sunxi-ng: Add sun4i/sun7i CCU driver Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-27  7:54   ` Maxime Ripard
2017-03-27  7:54     ` Maxime Ripard
2017-03-27  7:54     ` Maxime Ripard
2017-04-04 20:09     ` [linux-sunxi] " Priit Laes
2017-04-04 20:09       ` Priit Laes
2017-04-04 20:09       ` Priit Laes
2017-04-07 13:38       ` [linux-sunxi] " Maxime Ripard
2017-04-07 13:38         ` Maxime Ripard
2017-04-07 13:38         ` Maxime Ripard
2017-04-20 19:59         ` [linux-sunxi] " Priit Laes
2017-04-20 19:59           ` Priit Laes
2017-04-20 19:59           ` Priit Laes
2017-04-21  1:46           ` [linux-sunxi] " Chen-Yu Tsai
2017-04-21  1:46             ` Chen-Yu Tsai
2017-04-21  1:46             ` Chen-Yu Tsai
2017-04-22 12:33   ` [linux-sunxi] " Jonathan Liu
2017-04-22 12:33     ` Jonathan Liu
2017-04-22 12:33     ` Jonathan Liu
2017-04-22 14:46   ` [linux-sunxi] " Jonathan Liu
2017-04-22 14:46     ` Jonathan Liu
2017-04-22 14:46     ` Jonathan Liu
2017-03-26 17:20 ` [PATCH v2 2/6] ARM: sun7i: Convert to CCU Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20 ` [PATCH v2 3/6] ARM: sun4i: " Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-12-11 22:22   ` [linux-sunxi] " Kevin Hilman
2017-12-11 22:22     ` Kevin Hilman
2017-12-11 22:22     ` Kevin Hilman
2017-12-12  6:12     ` [linux-sunxi] " Priit Laes
2017-12-12  6:12       ` Priit Laes
2017-12-12  6:12       ` Priit Laes
2017-12-12 17:26     ` [linux-sunxi] " Priit Laes
2017-12-12 17:26       ` Priit Laes
2017-12-12 17:26       ` Priit Laes
2017-12-12 21:24       ` [linux-sunxi] " Kevin Hilman
2017-12-12 21:24         ` Kevin Hilman
2017-12-13 13:44         ` Maxime Ripard
2017-12-13 13:44           ` Maxime Ripard
2017-12-13 13:44           ` Maxime Ripard
2017-12-13 17:09         ` [linux-sunxi] " Priit Laes
2017-12-13 17:09           ` Priit Laes
2017-12-13 17:09           ` Priit Laes
2017-12-13 17:13           ` [linux-sunxi] " Priit Laes
2017-12-13 17:13             ` Priit Laes
2017-12-13 19:46             ` Kevin Hilman
2017-12-13 19:46               ` Kevin Hilman
2017-12-13 19:46               ` Kevin Hilman
2018-01-05 16:10               ` [linux-sunxi] " Kevin Hilman
2018-01-05 16:10                 ` Kevin Hilman
2018-01-08  9:15                 ` Chen-Yu Tsai
2018-01-08  9:15                   ` Chen-Yu Tsai
2018-01-08  9:15                   ` Chen-Yu Tsai
2017-03-26 17:20 ` [PATCH v2 4/6] dt-bindings: List devicetree binding for the CCU of Allwinner A20 Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20 ` [PATCH v2 5/6] dt-bindings: List devicetree binding for the CCU of Allwinner A10 Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-26 17:20   ` Priit Laes
2017-03-30 23:19   ` Rob Herring
2017-03-30 23:19     ` Rob Herring
2017-03-30 23:19     ` Rob Herring
2017-03-26 17:20 ` Priit Laes [this message]
2017-03-26 17:20   ` [PATCH v2 6/6] clk: sunxi-ng: Display index when clock registration fails Priit Laes
2017-03-26 17:20   ` Priit Laes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c2b949f92eff7ae8836af36d56a633e501e35caa.1490545262.git-series.plaes@plaes.org \
    --to=plaes@plaes.org \
    --cc=devicetree@vger.kernel.org \
    --cc=icenowy@aosc.xyz \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@googlegroups.com \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=mturquette@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=sboyd@codeaurora.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.