diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 22:51:57 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-10 18:38:40 +0100 |
commit | 1a8cfa24e21c2f154791f0cdd85fc28496918722 (patch) | |
tree | 56f36e0815d231e32c781fe987227f0fce092046 /include | |
parent | cadbaa039b99a6d5c26ce1c7f2fc0325943e605a (diff) |
perf/x86/intel/uncore: Fix Add BW copypasta
gcc -Wextra points out a duplicate initialization of one array
member:
arch/x86/events/intel/uncore_snb.c:478:37: warning: initialized field overwritten [-Woverride-init]
478 | [SNB_PCI_UNCORE_IMC_DATA_READS] = { SNB_UNCORE_PCI_IMC_DATA_WRITES_BASE,
The only sensible explanation is that a duplicate 'READS' was used
instead of the correct 'WRITES', so change it back.
Fixes: 24633d901ea4 ("perf/x86/intel/uncore: Add BW counters for GT, IA and IO breakdown")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201026215203.3893972-1-arnd@kernel.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions