[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201120104345.56b68991@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 20 Nov 2020 10:43:45 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, Eric Dumazet <edumazet@...gle.com>,
Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
linux-sparse@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: add annotation for
sock_{lock,unlock}_fast
On Tue, 17 Nov 2020 19:43:49 +0100 Paolo Abeni wrote:
> The static checker is fooled by the non-static locking scheme
> implemented by the mentioned helpers.
> Let's make its life easier adding some unconditional annotation
> so that the helpers are now interpreted as a plain spinlock from
> sparse.
>
> v1 -> v2:
> - add __releases() annotation to unlock_sock_fast()
>
> Signed-off-by: Paolo Abeni <pabeni@...hat.com>
Applied, thank you!
Powered by blists - more mailing lists