Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1270774 > unrolled thread
| Started by | Jiada Wang <jiada_wang@mentor.com> |
|---|---|
| First post | 2015-11-17 03:50 +0100 |
| Last post | 2015-11-17 06:00 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone Jiada Wang <jiada_wang@mentor.com> - 2015-11-17 03:50 +0100
Re: [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone Eduardo Valentin <edubezval@gmail.com> - 2015-11-17 04:40 +0100
Re: [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone Jiada Wang <jiada_wang@mentor.com> - 2015-11-17 06:00 +0100
| From | Jiada Wang <jiada_wang@mentor.com> |
|---|---|
| Date | 2015-11-17 03:50 +0100 |
| Subject | [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone |
| Message-ID | <qvEvf-7jH-5@gated-at.bofh.it> |
Some systems register thermal zone by themself and don't need to
have thermal zones node in DT. Therefore reduce the log level from
ERROR to DEBUG when thermal zone node can't be found in
of_thermal_destroy_zones().
Signed-off-by: Jiada Wang <jiada_wang@mentor.com>
---
drivers/thermal/of-thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/of-thermal.c b/drivers/thermal/of-thermal.c
index 42b7d42..be4eedc 100644
--- a/drivers/thermal/of-thermal.c
+++ b/drivers/thermal/of-thermal.c
@@ -964,7 +964,7 @@ void of_thermal_destroy_zones(void)
np = of_find_node_by_name(NULL, "thermal-zones");
if (!np) {
- pr_err("unable to find thermal zones\n");
+ pr_debug("unable to find thermal zones\n");
return;
}
--
2.4.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Eduardo Valentin <edubezval@gmail.com> |
|---|---|
| Date | 2015-11-17 04:40 +0100 |
| Subject | Re: [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone |
| Message-ID | <qvFhG-7YL-55@gated-at.bofh.it> |
| In reply to | #1270774 |
On Tue, Nov 17, 2015 at 11:43:34AM +0900, Jiada Wang wrote: > Some systems register thermal zone by themself and don't need to > have thermal zones node in DT. Therefore reduce the log level from > ERROR to DEBUG when thermal zone node can't be found in > of_thermal_destroy_zones(). This is already applied [1]. I applied V1 though. What is the difference from v1? [1] - https://git.kernel.org/cgit/linux/kernel/git/evalenti/linux-soc-thermal.git/commit/?h=fixes&id=285249884ec19480f99c011d223760bb1fc865a2 BR, Eduardo Valentin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Jiada Wang <jiada_wang@mentor.com> |
|---|---|
| Date | 2015-11-17 06:00 +0100 |
| Subject | Re: [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone |
| Message-ID | <qvGx4-gl-5@gated-at.bofh.it> |
| In reply to | #1270817 |
Hello On 11/17/2015 12:37 PM, Eduardo Valentin wrote: > On Tue, Nov 17, 2015 at 11:43:34AM +0900, Jiada Wang wrote: >> Some systems register thermal zone by themself and don't need to >> have thermal zones node in DT. Therefore reduce the log level from >> ERROR to DEBUG when thermal zone node can't be found in >> of_thermal_destroy_zones(). > > > This is already applied [1]. I applied V1 though. > What is the difference from v1? > fixed typo in commit subject "fine" -> "find" Thanks, Jiada > [1] - > https://git.kernel.org/cgit/linux/kernel/git/evalenti/linux-soc-thermal.git/commit/?h=fixes&id=285249884ec19480f99c011d223760bb1fc865a2 > > BR, > > Eduardo Valentin > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web