All of lore.kernel.org
 help / color / mirror / Atom feed
* [tty:tty-next 76/81] include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'bcm_console_write' - unexpected unlock
@ 2020-12-05 17:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-05 17:42 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-serial(a)vger.kernel.org
TO: "Rafał Miłecki" <rafal@milecki.pl>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-next
head:   e0efb3168d34dc8c8c72718672b8902e40efff8f
commit: f35a07f92616700733636c06dd6e5b6cdc807fe4 [76/81] tty: serial: bcm63xx: lower driver dependencies
:::::: branch date: 26 hours ago
:::::: commit date: 9 days ago
config: openrisc-randconfig-s031-20201206 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-179-ga00755aa-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/commit/?id=f35a07f92616700733636c06dd6e5b6cdc807fe4
        git remote add tty https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
        git fetch --no-tags tty tty-next
        git checkout f35a07f92616700733636c06dd6e5b6cdc807fe4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=openrisc 

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/tty/serial/bcm63xx_uart.c: note: in included file (through include/linux/wait.h, include/linux/pid.h, include/linux/sched.h, ...):
>> include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'bcm_console_write' - unexpected unlock

vim +/bcm_console_write +394 include/linux/spinlock.h

c2f21ce2e31286 Thomas Gleixner 2009-12-02  391  
3490565b633c70 Denys Vlasenko  2015-07-13  392  static __always_inline void spin_unlock(spinlock_t *lock)
c2f21ce2e31286 Thomas Gleixner 2009-12-02  393  {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @394  	raw_spin_unlock(&lock->rlock);
c2f21ce2e31286 Thomas Gleixner 2009-12-02  395  }
c2f21ce2e31286 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 <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: 23946 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-05 17:42 [tty:tty-next 76/81] include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'bcm_console_write' - 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.