* [PATCH] powerpc/powernv: Fix a warning message
@ 2020-05-02 11:59 Christophe JAILLET
2020-05-04 5:17 ` Gautham R Shenoy
2020-06-09 5:59 ` Michael Ellerman
0 siblings, 2 replies; 3+ messages in thread
From: Christophe JAILLET @ 2020-05-02 11:59 UTC (permalink / raw)
To: mpe, benh, paulus, npiggin, tglx, maddy, cclaudio, zhangshaokun,
atrajeev, akshay.adiga, ego
Cc: kernel-janitors, Christophe JAILLET, linuxppc-dev, linux-kernel
Fix a cut'n'paste error in a warning message. This should be
'cpu-idle-state-residency-ns' to match the property searched in the
previous 'of_property_read_u32_array()'
Fixes: 9c7b185ab2fe ("powernv/cpuidle: Parse dt idle properties into global structure")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
arch/powerpc/platforms/powernv/idle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/powernv/idle.c b/arch/powerpc/platforms/powernv/idle.c
index 78599bca66c2..2dd467383a88 100644
--- a/arch/powerpc/platforms/powernv/idle.c
+++ b/arch/powerpc/platforms/powernv/idle.c
@@ -1270,7 +1270,7 @@ static int pnv_parse_cpuidle_dt(void)
/* Read residencies */
if (of_property_read_u32_array(np, "ibm,cpu-idle-state-residency-ns",
temp_u32, nr_idle_states)) {
- pr_warn("cpuidle-powernv: missing ibm,cpu-idle-state-latencies-ns in DT\n");
+ pr_warn("cpuidle-powernv: missing ibm,cpu-idle-state-residency-ns in DT\n");
rc = -EINVAL;
goto out;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc/powernv: Fix a warning message
2020-05-02 11:59 [PATCH] powerpc/powernv: Fix a warning message Christophe JAILLET
@ 2020-05-04 5:17 ` Gautham R Shenoy
2020-06-09 5:59 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Gautham R Shenoy @ 2020-05-04 5:17 UTC (permalink / raw)
To: Christophe JAILLET
Cc: ego, maddy, Rafael J. Wysocki, kernel-janitors, cclaudio,
npiggin, linux-kernel, zhangshaokun, Viresh Kumar, atrajeev,
paulus, tglx, linuxppc-dev, akshay.adiga
Hello Christophe,
On Sat, May 02, 2020 at 01:59:49PM +0200, Christophe JAILLET wrote:
> Fix a cut'n'paste error in a warning message. This should be
> 'cpu-idle-state-residency-ns' to match the property searched in the
> previous 'of_property_read_u32_array()'
>
> Fixes: 9c7b185ab2fe ("powernv/cpuidle: Parse dt idle properties into global structure")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Thanks for catching this.
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
> ---
> arch/powerpc/platforms/powernv/idle.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/powerpc/platforms/powernv/idle.c b/arch/powerpc/platforms/powernv/idle.c
> index 78599bca66c2..2dd467383a88 100644
> --- a/arch/powerpc/platforms/powernv/idle.c
> +++ b/arch/powerpc/platforms/powernv/idle.c
> @@ -1270,7 +1270,7 @@ static int pnv_parse_cpuidle_dt(void)
> /* Read residencies */
> if (of_property_read_u32_array(np, "ibm,cpu-idle-state-residency-ns",
> temp_u32, nr_idle_states)) {
> - pr_warn("cpuidle-powernv: missing ibm,cpu-idle-state-latencies-ns in DT\n");
> + pr_warn("cpuidle-powernv: missing ibm,cpu-idle-state-residency-ns in DT\n");
> rc = -EINVAL;
> goto out;
> }
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc/powernv: Fix a warning message
2020-05-02 11:59 [PATCH] powerpc/powernv: Fix a warning message Christophe JAILLET
2020-05-04 5:17 ` Gautham R Shenoy
@ 2020-06-09 5:59 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2020-06-09 5:59 UTC (permalink / raw)
To: Christophe JAILLET, benh, paulus, npiggin, tglx, maddy, cclaudio,
zhangshaokun, atrajeev, akshay.adiga, ego
Cc: kernel-janitors, linuxppc-dev, linux-kernel
On Sat, 2020-05-02 at 11:59:49 UTC, Christophe JAILLET wrote:
> Fix a cut'n'paste error in a warning message. This should be
> 'cpu-idle-state-residency-ns' to match the property searched in the
> previous 'of_property_read_u32_array()'
>
> Fixes: 9c7b185ab2fe ("powernv/cpuidle: Parse dt idle properties into global structure")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/2f62870ca5bc9d305f3c212192320c29e9dbdc54
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-09 5:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-02 11:59 [PATCH] powerpc/powernv: Fix a warning message Christophe JAILLET
2020-05-04 5:17 ` Gautham R Shenoy
2020-06-09 5:59 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).