forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork0
Commit1a8cfa2
perf/x86/intel/uncore: Fix Add BW copypasta
gcc -Wextra points out a duplicate initialization of one arraymember: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 usedinstead of the correct 'WRITES', so change it back.Fixes:24633d9 ("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.org1 parentcadbaa0 commit1a8cfa2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
475 | 475 | | |
476 | 476 | | |
477 | 477 | | |
478 | | - | |
| 478 | + | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
| |||
0 commit comments
Comments
(0)