[tip:WIP.x86/mm 22/27] arch/x86/mm/pat/set_memory.c:334:6: sparse: sparse: symbol '__cpa_flush_tlb' was not declared. Should it be static?

From: kbuild test robot
Date: Sat Nov 23 2019 - 10:31:03 EST


Hi Ingo,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/mm
head: f53ee099dface98b5d75f6ba3b15c7ae8b26099c
commit: b2c61e70cccafd312eba9b0e4ca06361d800bc93 [22/27] x86/mm/pat: Move the memtype related files to arch/x86/mm/pat/
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-36-g9305d48-dirty
git checkout b2c61e70cccafd312eba9b0e4ca06361d800bc93
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>


sparse warnings: (new ones prefixed by >>)

>> arch/x86/mm/pat/set_memory.c:334:6: sparse: sparse: symbol '__cpa_flush_tlb' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation