Re: [mmotm:master 463/499] mm/mprotect.c:46:14: sparse: context imbalance in 'lock_pte_protection' - different lock contexts for basic block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 24, 2014 at 04:00:32PM -0500, Christoph Lameter wrote:
> On Sun, 23 Mar 2014, kbuild test robot wrote:
> 
> > >> mm/mprotect.c:46:14: sparse: context imbalance in 'lock_pte_protection' - different lock contexts for basic block
> > >> arch/x86/include/asm/paravirt.h:699:9: sparse: context imbalance in 'change_pte_range' - unexpected unlock
> > --
> > >> fs/ntfs/super.c:3100:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3102:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3104:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3105:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3107:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3108:1: sparse: directive in argument list
> > >> fs/ntfs/super.c:3110:1: sparse: directive in argument list
> 
> Looked through these and I am a bit puzzled how they related to raw cpu
> ops patch.

Ah yes, this is false positive and is because the compilation on the
previous commit failed, so the sparse errors in fs/ntfs/super.c show
up as "new" ones in commit 6a9ad050.

wfg@bee ~/linux% git checkout 6a9ad050c521ac607a30a691042f2a5d24109b07~
...
HEAD is now at 1b1dc6d... arm: move arm_dma_limit to setup_dma_zone

wfg@bee ~/linux/obj-compiletest% make C=1 fs/ntfs/super.o
...
  HOSTLD  scripts/mod/modpost
In file included from /c/wfg/linux/include/linux/mm.h:897:0,
                 from /c/wfg/linux/include/linux/suspend.h:8,
                 from /c/wfg/linux/arch/x86/kernel/asm-offsets.c:12:
/c/wfg/linux/include/linux/vmstat.h: In function ‘__count_vm_event’:
/c/wfg/linux/include/linux/vmstat.h:36:2: error: implicit declaration of function ‘raw_cpu_inc’ [-Werror=implicit-function-declaration]
/c/wfg/linux/include/linux/vmstat.h: In function ‘__count_vm_events’:
/c/wfg/linux/include/linux/vmstat.h:46:2: error: implicit declaration of function ‘raw_cpu_add’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/c/wfg/linux'

Thanks,
Fengguang

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]