CC: [email protected]
CC: [email protected]
TO: Thomas Gleixner <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git 
linux-5.13.y-rt-testing
head:   87ca00748cfcc19b46d4622228d2e0e8514d5033
commit: b42b6e6889e21b06cee7a633c0f1b562e5d56eef [197/228] tty/serial/omap: 
Make the locking RT aware
:::::: branch date: 31 hours ago
:::::: commit date: 7 days ago
config: x86_64-randconfig-s021-20210713 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=b42b6e6889e21b06cee7a633c0f1b562e5d56eef
        git remote add linux-rt-devel 
https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
        git fetch --no-tags linux-rt-devel linux-5.13.y-rt-testing
        git checkout b42b6e6889e21b06cee7a633c0f1b562e5d56eef
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=x86_64 SHELL=/bin/bash drivers/tty/serial/

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/tty/serial/omap-serial.c: note: in included file (through 
include/linux/mmzone.h, include/linux/gfp.h, include/linux/umh.h, 
include/linux/kmod.h, ...):
>> include/linux/spinlock.h:418:9: sparse: sparse: context imbalance in 
>> 'serial_omap_console_write' - wrong count at exit

vim +/serial_omap_console_write +418 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  415  
3490565b633c70 Denys Vlasenko  2015-07-13  416  static __always_inline void 
spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  417  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @418          
raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  419  }
c2f21ce2e31286 Thomas Gleixner 2009-12-02  420  

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