Skip to content
Commit 7002f775 authored by Max Filippov's avatar Max Filippov Committed by Vineet Gupta
Browse files

arc: fix use of uninitialized arc_pmu



static arc_pmu in the arch/arc/kernel/perf_event.c is not initialized as
it's shadowed by a local variable of the same name in the
arc_pmu_device_probe.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
Fixes: 03c94fcf "ARC: perf: make @arc_pmu static global"
CC: <stable@vger.kernel.org>	# 4.1
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent b27f7391
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment