CC: [email protected] TO: Christoph Hellwig <[email protected]> tree: git://git.infradead.org/users/hch/misc.git follow_pte_pmd head: 664e96b63d9a79a1966138f586f97b1a670b3809 commit: 664e96b63d9a79a1966138f586f97b1a670b3809 [2/2] mm: simplify follow_pte{,pmd} :::::: branch date: 7 hours ago :::::: commit date: 7 hours ago config: i386-randconfig-s002-20201029 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-56-gc09e8239-dirty git remote add hch-misc git://git.infradead.org/users/hch/misc.git git fetch --no-tags hch-misc follow_pte_pmd git checkout 664e96b63d9a79a1966138f586f97b1a670b3809 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> "sparse warnings: (new ones prefixed by >>)" mm/memory.c:5160:22: sparse: sparse: cast removes address space '__user' of expression mm/memory.c:943:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block mm/memory.c:1612:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block mm/memory.c:2163:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block mm/memory.c: note: in included file (through include/linux/seqlock.h, include/linux/hrtimer.h, include/linux/interrupt.h, ...): include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock mm/memory.c:2665:9: sparse: sparse: context imbalance in 'wp_page_copy' - different lock contexts for basic block include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock mm/memory.c:3072:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block mm/memory.c:3644:19: sparse: sparse: context imbalance in 'pte_alloc_one_map' - different lock contexts for basic block include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'finish_fault' - unexpected unlock include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'do_fault_around' - unexpected unlock mm/memory.c:4699:5: sparse: sparse: context imbalance in 'follow_pte' - different lock contexts for basic block >> include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in >> 'follow_pfn' - unexpected unlock >> include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in >> 'follow_phys' - unexpected unlock vim +/follow_pfn +394 include/linux/spinlock.h c2f21ce2e31286a Thomas Gleixner 2009-12-02 391 3490565b633c705 Denys Vlasenko 2015-07-13 392 static __always_inline void spin_unlock(spinlock_t *lock) c2f21ce2e31286a Thomas Gleixner 2009-12-02 393 { c2f21ce2e31286a Thomas Gleixner 2009-12-02 @394 raw_spin_unlock(&lock->rlock); c2f21ce2e31286a Thomas Gleixner 2009-12-02 395 } c2f21ce2e31286a Thomas Gleixner 2009-12-02 396 :::::: The code at line 394 was first introduced by commit :::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock :::::: TO: Thomas Gleixner <[email protected]> :::::: CC: Thomas Gleixner <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
