mirror of https://gitee.com/openkylin/linux.git
1a8cfa24e2
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:
|
||
---|---|---|
.. | ||
amd | ||
intel | ||
zhaoxin | ||
Kconfig | ||
Makefile | ||
core.c | ||
msr.c | ||
perf_event.h | ||
probe.c | ||
probe.h | ||
rapl.c |