Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439147 > unrolled thread
| Started by | Tomeu Vizoso <tomeu.vizoso@collabora.com> |
|---|---|
| First post | 2016-07-08 09:20 +0200 |
| Last post | 2016-07-08 20:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] clk: clk-conf: Fix error message when clock isn't found Tomeu Vizoso <tomeu.vizoso@collabora.com> - 2016-07-08 09:20 +0200
Re: [PATCH] clk: clk-conf: Fix error message when clock isn't found Michael Turquette <mturquette@baylibre.com> - 2016-07-08 20:30 +0200
| From | Tomeu Vizoso <tomeu.vizoso@collabora.com> |
|---|---|
| Date | 2016-07-08 09:20 +0200 |
| Subject | [PATCH] clk: clk-conf: Fix error message when clock isn't found |
| Message-ID | <rSyeR-1z5-9@gated-at.bofh.it> |
When failing to lookup the assigned clock for setting its parents, we
were previously printing a misleading error message that lead to think
that it was the parent clock what couldn't be found.
Change error message to make clear that it's the assigned clock what
couldn't be found in this case.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
---
drivers/clk/clk-conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c
index 43a218f35b19..674785d968a3 100644
--- a/drivers/clk/clk-conf.c
+++ b/drivers/clk/clk-conf.c
@@ -55,7 +55,7 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier)
}
clk = of_clk_get_from_provider(&clkspec);
if (IS_ERR(clk)) {
- pr_warn("clk: couldn't get parent clock %d for %s\n",
+ pr_warn("clk: couldn't get assigned clock %d for %s\n",
index, node->full_name);
rc = PTR_ERR(clk);
goto err;
--
2.5.5
[toc] | [next] | [standalone]
| From | Michael Turquette <mturquette@baylibre.com> |
|---|---|
| Date | 2016-07-08 20:30 +0200 |
| Message-ID | <rSIHg-8pC-17@gated-at.bofh.it> |
| In reply to | #1439147 |
Quoting Tomeu Vizoso (2016-07-08 00:14:38)
> When failing to lookup the assigned clock for setting its parents, we
> were previously printing a misleading error message that lead to think
> that it was the parent clock what couldn't be found.
>
> Change error message to make clear that it's the assigned clock what
> couldn't be found in this case.
>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Applied.
Regards,
Mike
> ---
> drivers/clk/clk-conf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c
> index 43a218f35b19..674785d968a3 100644
> --- a/drivers/clk/clk-conf.c
> +++ b/drivers/clk/clk-conf.c
> @@ -55,7 +55,7 @@ static int __set_clk_parents(struct device_node *node, bool clk_supplier)
> }
> clk = of_clk_get_from_provider(&clkspec);
> if (IS_ERR(clk)) {
> - pr_warn("clk: couldn't get parent clock %d for %s\n",
> + pr_warn("clk: couldn't get assigned clock %d for %s\n",
> index, node->full_name);
> rc = PTR_ERR(clk);
> goto err;
> --
> 2.5.5
>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web