lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 29 Apr 2020 13:22:47 +0300
From:   Andy Shevchenko <>
To:     Jules Irenge <>
        "David S. Miller" <>,
        Jakub Kicinski <>,
        Dan Carpenter <>,
        Shannon Nelson <>,
        Thomas Gleixner <>,
        "Michael S. Tsirkin" <>,
        "open list:NETWORKING [GENERAL]" <>
Subject: Re: [PATCH 6/6] net: atm: Add annotation for lec_priv_walk()

On Wed, Apr 29, 2020 at 11:05:28AM +0100, Jules Irenge wrote:
> Sparse reports a warning at lec_priv_walk()
> warning: context imbalance in lec_priv_walk() - unexpected unlock
> The root cause is the missing annotation at lec_priv_walk()
> To fix this, __acquire() and __release() annotations
> are added in case conditions are not met.
> This only instruct  Sparse to shutdown the warning
> Add the  __acquire(&priv->lec_arp_lock)
> Add __release(&priv->lec_arp_lock) annotation

At least those two I got should be in one patch. Simple fix all same sparse
issues at once.

With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists