[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e4de8720-e4bb-477d-ad80-55c8060cba2e@kadam.mountain>
Date: Tue, 5 Sep 2023 12:18:04 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Jamal Hadi Salim <jhs@...atatu.com>
Cc: Simon Horman <horms@...nel.org>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: Weird sparse error WAS( [PATCH net-next v2 3/3] net/sched:
act_blockcast: Introduce blockcast tc action
On Thu, Aug 24, 2023 at 10:30:18AM -0400, Jamal Hadi Salim wrote:
> Dan/Simon,
> Can someone help explain this error on the code below:
>
> ../net/sched/act_blockcast.c:213:9: warning: context imbalance in
> 'tcf_blockcast_init' - different lock contexts for basic block
>
> Looks like a false positive ...
I maintain Smatch and not Sparse. It is a false positive. Smatch will
parse that code correctly. ;)
regards,
dan carpenter
Powered by blists - more mailing lists