[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YDyllv3zs+lWtgCV@hirez.programming.kicks-ass.net>
Date: Mon, 1 Mar 2021 09:28:06 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Shuah Khan <skhan@...uxfoundation.org>
Cc: mingo@...hat.com, will@...nel.org, kvalo@...eaurora.org,
davem@...emloft.net, kuba@...nel.org, ath10k@...ts.infradead.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/3] lockdep: add lockdep_assert_not_held()
On Fri, Feb 26, 2021 at 02:16:12PM -0700, Shuah Khan wrote:
> On 2/26/21 2:07 PM, Peter Zijlstra wrote:
> > On Fri, Feb 26, 2021 at 10:52:13AM -0700, Shuah Khan wrote:
> > > + /* avoid false negative lockdep_assert_not_held()
> > > + * and lockdep_assert_held()
> > > + */
> >
> > That's a coding style fail.
> >
>
> Checkpatch didn't complain.
Documentation/CodingStyle
(or whatever unreadable rst crap it is today :-( )
and:
https://lkml.kernel.org/lkml/CA+55aFyQYJerovMsSoSKS7PessZBr4vNp-3QUUwhqk4A4_jcbg@mail.gmail.com/
> What's your preference? Does the following work for you?
>
> /*
> * avoid false negative lockdep_assert_not_held()
> * and lockdep_assert_held()
> */
Yep (ideally even with a Capital and full stop).
Powered by blists - more mailing lists