CC: [email protected]
TO: Lee Jones <[email protected]>

tree:   https://android.googlesource.com/kernel/goldfish android-3.18
head:   82a903ec4402017bbc07408833afdb3640e53bf8
commit: f04abd8f6b9e0f043f4056f41283979783899f94 [543/676] xhci: Fix race 
related to abort operation
:::::: branch date: 4 months ago
:::::: commit date: 4 months ago
config: x86_64-randconfig-s022-20201206 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-179-ga00755aa-dirty
        git remote add android-goldfish 
https://android.googlesource.com/kernel/goldfish
        git fetch --no-tags android-goldfish android-3.18
        git checkout f04abd8f6b9e0f043f4056f41283979783899f94
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   drivers/usb/host/xhci-ring.c: note: in included file (through 
include/linux/mmzone.h, include/linux/gfp.h, include/linux/mm.h, ...):
>> include/linux/spinlock.h:364:9: sparse: sparse: context imbalance in 
>> 'xhci_abort_cmd_ring' - unexpected unlock

vim +/xhci_abort_cmd_ring +364 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  361  
c2f21ce2e31286 Thomas Gleixner 2009-12-02  362  static inline void 
spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  363  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @364          
raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  365  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  366  

:::::: The code at line 364 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]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to