powerpc/powernv: Fix a warning message
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 2 May 2020 11:59:49 +0000 (13:59 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2020 13:15:14 +0000 (23:15 +1000)
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>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200502115949.139000-1-christophe.jaillet@wanadoo.fr
arch/powerpc/platforms/powernv/idle.c

index 78599bca66c22e5c11079ed5e6cfe0a28c254f45..2dd467383a884576402b4eb9310278791aa6fe1e 100644 (file)
@@ -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;
        }