Re: [PATCH v3] cpufreq/pasemi: fix an use-after-free in pas_cpufreq_cpu_init()

From: Markus Elfring
Date: Mon Jul 08 2019 - 13:45:48 EST


> @@ -204,6 +205,7 @@ static int pas_cpufreq_cpu_init(struct cpufreq_policy *policy)

> out_unmap_sdcasr:

> iounmap(sdcasr_mapbase);

> out:

> + of_node_put(cpu);


I would find the usage of a jump label like âput_nodeâ nicer at such
a source code place.

Regards,
Markus