All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-goldfish:android-3.18 543/676] include/linux/spinlock.h:364:9: sparse: sparse: context imbalance in 'xhci_abort_cmd_ring' - unexpected unlock
@ 2020-12-05 20:23 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-05 20:23 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2204 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Lee Jones <lee.jones@linaro.org>

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 <lkp@intel.com>


"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 <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22991 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-05 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-05 20:23 [android-goldfish:android-3.18 543/676] include/linux/spinlock.h:364:9: sparse: sparse: context imbalance in 'xhci_abort_cmd_ring' - unexpected unlock kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.