* [PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()
@ 2023-03-28 16:51 notfound405
0 siblings, 0 replies; 3+ messages in thread
From: notfound405 @ 2023-03-28 16:51 UTC (permalink / raw)
To: Lukasz Majewski, Sean Anderson; +Cc: u-boot, notfound405
clk_register_fixed_rate() calls clk_register() with the fourth
argument(parent_name) being NULL, making it output error message. Change
to log_info() to fix it.
Signed-off-by: notfound405 <forbidden405@foxmail.com>
---
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index a5a3461b66..0619937cee 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -24,7 +24,7 @@ int clk_register(struct clk *clk, const char *drv_name,
ret = uclass_get_device_by_name(UCLASS_CLK, parent_name, &parent);
if (ret) {
- log_err("%s: failed to get %s device (parent of %s)\n",
+ log_info("%s: failed to get %s device (parent of %s)\n",
__func__, parent_name, name);
} else {
log_debug("%s: name: %s parent: %s [0x%p]\n", __func__, name,
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()
2023-03-28 17:03 notfound405
@ 2023-11-01 18:26 ` Sean Anderson
0 siblings, 0 replies; 3+ messages in thread
From: Sean Anderson @ 2023-11-01 18:26 UTC (permalink / raw)
To: notfound405, Lukasz Majewski; +Cc: u-boot
On 3/28/23 13:03, notfound405 wrote:
> clk_register_fixed_rate() calls clk_register() with the fourth
> argument(parent_name) being NULL, making it output error message. Change
> to log_info() to fix it.
>
> Signed-off-by: Yang Xiwen <forbidden405@foxmail.com>
> ---
> The previous email is signed with a wrong name. The patch is not
> modified.
>
> drivers/clk/clk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index a5a3461b66..0619937cee 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -24,7 +24,7 @@ int clk_register(struct clk *clk, const char *drv_name,
>
> ret = uclass_get_device_by_name(UCLASS_CLK, parent_name, &parent);
> if (ret) {
> - log_err("%s: failed to get %s device (parent of %s)\n",
> + log_info("%s: failed to get %s device (parent of %s)\n",
> __func__, parent_name, name);
> } else {
> log_debug("%s: name: %s parent: %s [0x%p]\n", __func__, name,
cf: https://lore.kernel.org/u-boot/20230818-clk-fix-v1-2-49ec18f820bf@outlook.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate()
@ 2023-03-28 17:03 notfound405
2023-11-01 18:26 ` Sean Anderson
0 siblings, 1 reply; 3+ messages in thread
From: notfound405 @ 2023-03-28 17:03 UTC (permalink / raw)
To: Lukasz Majewski, Sean Anderson; +Cc: u-boot, notfound405
clk_register_fixed_rate() calls clk_register() with the fourth
argument(parent_name) being NULL, making it output error message. Change
to log_info() to fix it.
Signed-off-by: Yang Xiwen <forbidden405@foxmail.com>
---
The previous email is signed with a wrong name. The patch is not
modified.
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index a5a3461b66..0619937cee 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -24,7 +24,7 @@ int clk_register(struct clk *clk, const char *drv_name,
ret = uclass_get_device_by_name(UCLASS_CLK, parent_name, &parent);
if (ret) {
- log_err("%s: failed to get %s device (parent of %s)\n",
+ log_info("%s: failed to get %s device (parent of %s)\n",
__func__, parent_name, name);
} else {
log_debug("%s: name: %s parent: %s [0x%p]\n", __func__, name,
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-11-01 18:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 16:51 [PATCH] clk: change log_err() to log_info() to make it quiet with clk_register_fixed_rate() notfound405
2023-03-28 17:03 notfound405
2023-11-01 18:26 ` Sean Anderson
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.