lkml.org 
[lkml]   [2020]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: drivers/tty/serial/pmac_zilog.c:255:36: sparse: sparse: context imbalance in 'pmz_receive_chars' - unexpected unlock
On Thu, Jul 23, 2020 at 3:19 PM Johan Hovold <johan@kernel.org> wrote:
>
> On Thu, Jul 23, 2020 at 05:29:14PM +0800, kernel test robot wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: d15be546031cf65a0fc34879beca02fd90fe7ac7
> > commit: 08d5470308ac3598e7709d08b8979ce6e9de8da2 serial: core: fix sysrq overhead regression
> > date: 4 weeks ago
> > config: m68k-randconfig-s032-20200723 (attached as .config)
> > compiler: m68k-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.2-93-g4c6cbe55-dirty
> > git checkout 08d5470308ac3598e7709d08b8979ce6e9de8da2
> > # 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=m68k
> >
> > 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/pmac_zilog.c:255:36: sparse: sparse: context imbalance in 'pmz_receive_chars' - unexpected unlock
>
> This warning is far from new,

I suspect it's a new sparse and kbuildbot that decided to unveil old sins.

> but let's add the missing annotation
> nonetheless:
>
> https://lore.kernel.org/r/20200723121423.24217-1-johan@kernel.org

Feel free to add Reviewed-by: Andy Shevchenko
<andy.shevchenko@gmail.com> to them.

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2020-07-23 14:27    [W:0.069 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site