Wen Yang e0a12445d1 cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
The cpu variable is still being used in the of_get_property() call
after the of_node_put() call, which may result in use-after-free.

Fixes: a9acc26b75f6 ("cpufreq/pasemi: fix possible object reference leak")
Signed-off-by: Wen Yang <wen.yang99@zte.com.cn>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-07-23 09:49:10 +02:00
..
2019-07-08 11:00:02 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-06-13 08:58:22 +05:30
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-07-18 09:49:30 +02:00
2019-03-04 11:19:14 +01:00