Thread (4 messages) 4 messages, 4 authors, 2019-07-09

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

flat view

From: Markus Elfring <hidden>
Date: 2019-07-08 17:45:47
Also in: kernel-janitors, linux-pm, lkml

quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help