[peterz-queue:master 2112/2183] arch/x86/kernel/cpu/perf_event_intel.c:2204:25: sparse: symbol 'allocate_excl_cntrs' was not declared. Should it be static?

From: kbuild test robot
Date: Tue Mar 31 2015 - 09:33:19 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: dc457a0288847522525701d01c1d43d564d06132
commit: cafb328c12993896509de8309f9874949f64e5a4 [2112/2183] perf/x86: add cross-HT counter exclusion infrastructure
reproduce:
# apt-get install sparse
git checkout cafb328c12993896509de8309f9874949f64e5a4
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

arch/x86/kernel/cpu/perf_event_intel.c:196:18: sparse: symbol 'nhm_events_attrs' was not declared. Should it be static?
arch/x86/kernel/cpu/perf_event_intel.c:201:18: sparse: symbol 'snb_events_attrs' was not declared. Should it be static?
arch/x86/kernel/cpu/perf_event_intel.c:223:25: sparse: symbol 'intel_bdw_event_constraints' was not declared. Should it be static?
>> arch/x86/kernel/cpu/perf_event_intel.c:2204:25: sparse: symbol 'allocate_excl_cntrs' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/