[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201910011019.MzeuDvQA%lkp@intel.com>
Date: Tue, 1 Oct 2019 10:23:29 +0800
From: kbuild test robot <lkp@...el.com>
To: Stefan-gabriel Mirea <stefan-gabriel.mirea@....com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Stoica Cosmin-Stefan <cosmin.stoica@....com>,
"Adrian.Nitu" <adrian.nitu@...escale.com>,
Larisa Grigore <Larisa.Grigore@....com>,
Ana Nedelcu <B56683@...escale.com>,
Mihaela Martinas <Mihaela.Martinas@...escale.com>,
Matthew Nunez <matthew.nunez@....com>
Subject: include/linux/spinlock.h:393:9: sparse: sparse: context imbalance in
'linflex_console_write' - unexpected unlock
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
commit: 09864c1cdf5c537bd01bff45181406e422ea988c tty: serial: Add linflexuart driver for S32V234
date: 4 weeks ago
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-rc1-37-gd466a02-dirty
git checkout 09864c1cdf5c537bd01bff45181406e422ea988c
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
>> include/linux/spinlock.h:393:9: sparse: sparse: context imbalance in 'linflex_console_write' - unexpected unlock
vim +/linflex_console_write +393 include/linux/spinlock.h
c2f21ce2e31286 Thomas Gleixner 2009-12-02 390
3490565b633c70 Denys Vlasenko 2015-07-13 391 static __always_inline void spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags)
c2f21ce2e31286 Thomas Gleixner 2009-12-02 392 {
c2f21ce2e31286 Thomas Gleixner 2009-12-02 @393 raw_spin_unlock_irqrestore(&lock->rlock, flags);
c2f21ce2e31286 Thomas Gleixner 2009-12-02 394 }
c2f21ce2e31286 Thomas Gleixner 2009-12-02 395
:::::: The code at line 393 was first introduced by commit
:::::: c2f21ce2e31286a0a32f8da0a7856e9ca1122ef3 locking: Implement new raw_spinlock
:::::: TO: Thomas Gleixner <tglx@...utronix.de>
:::::: CC: Thomas Gleixner <tglx@...utronix.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Powered by blists - more mailing lists