mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
perfcounters/powerpc: fix oops with multiple counters in a group
Impact: fix oops-causing bug This fixes a bug in the powerpc hw_perf_counter_init where the code didn't initialize ctrs[n] before passing the ctrs array to check_excludes, leading to possible oopses and other incorrect behaviour. This fixes it by initializing ctrs[n] correctly. Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
b5e8acf66f
commit
86028598de
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue