[tip:x86/paravirt 2/15] arch/x86/xen/mmu_pv.c:105:1: sparse: symbol 'xen_reservation_lock' was not declared. Should it be static?
From: kbuild test robot
Date: Tue Sep 04 2018 - 11:13:08 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/paravirt
head: 495310e4f2dd857c4d5a62806a04cb8ba53855c1
commit: f030aade9165080f3539fb86fc2ce9ffc391813c [2/15] x86/xen: Move pv specific parts of arch/x86/xen/mmu.c to mmu_pv.c
reproduce:
# apt-get install sparse
git checkout f030aade9165080f3539fb86fc2ce9ffc391813c
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago
>> arch/x86/xen/mmu_pv.c:105:1: sparse: symbol 'xen_reservation_lock' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:373:20: sparse: symbol 'xen_pte_val' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:381:20: sparse: symbol 'xen_pgd_val' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:387:17: sparse: symbol 'xen_make_pte' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:395:17: sparse: symbol 'xen_make_pgd' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:402:20: sparse: symbol 'xen_pmd_val' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:460:17: sparse: symbol 'xen_make_pmd' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:468:20: sparse: symbol 'xen_pud_val' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:474:17: sparse: symbol 'xen_make_pud' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:558:20: sparse: symbol 'xen_p4d_val' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:564:17: sparse: symbol 'xen_make_p4d' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:1547:17: sparse: symbol 'xen_make_pte_init' was not declared. Should it be static?
arch/x86/xen/mmu_pv.c:2101:45: sparse: expression using sizeof(void)
arch/x86/xen/mmu_pv.c:2105:51: sparse: expression using sizeof(void)
arch/x86/xen/mmu_pv.c:2110:59: sparse: expression using sizeof(void)
arch/x86/xen/mmu_pv.c:2748:29: sparse: expression using sizeof(void)
arch/x86/xen/mmu_pv.c:694:19: sparse: context imbalance in 'xen_pte_lock' - wrong count at exit
arch/x86/xen/mmu_pv.c:706:13: sparse: context imbalance in 'xen_pte_unlock' - unexpected unlock
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation