perf/x86/intel/uncore: Fix Add BW copypasta
authorArnd Bergmann <arnd@arndb.de>
Mon, 26 Oct 2020 21:51:57 +0000 (22:51 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 10 Nov 2020 17:38:40 +0000 (18:38 +0100)
commit1a8cfa24e21c2f154791f0cdd85fc28496918722
tree56f36e0815d231e32c781fe987227f0fce092046
parentcadbaa039b99a6d5c26ce1c7f2fc0325943e605a
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
arch/x86/events/intel/uncore_snb.c