From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [tty:tty-next 76/81] include/linux/spinlock.h:394:9: sparse: sparse: context imbalance in 'bcm_console_write' - unexpected unlock
Date: Sun, 06 Dec 2020 01:42:31 +0800 [thread overview]
Message-ID: <202012060119.To0mv4P0-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-12-05 17:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202012060119.To0mv4P0-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.