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