Subject: Re: linux-next: [DOCS] build warning after merge of the tip tree

From: Peter Zijlstra <[email-masked]>
Date: Fri, 23 Jan 2026 12:28:56 +0100

On Fri, Jan 23, 2026 at 08:11:26AM +0100, Mauro Carvalho Chehab wrote:

> >  tools/lib/python/kdoc/kdoc_parser.py |    1 +
> >  1 file changed, 1 insertion(+)
> > 
> > --- a/tools/lib/python/kdoc/kdoc_parser.py
> > +++ b/tools/lib/python/kdoc/kdoc_parser.py
> > @@ -186,6 +186,7 @@ function_xforms  = [
> >      (KernRe(r"__sched +"), ""),
> >      (KernRe(r"_noprof"), ""),
> >      (KernRe(r"__always_unused *"), ""),
> > +    (KernRe(r"__cond_acquires\s*\(.*\)"), ""),
> 
> Regex here is too broad, as it is greedy: it may drop more
> than expected. Perhaps:
> 
>     (KernRe(r"__cond_acquires\s*\([^\)]*\)"), ""),

I have of course no idea what so ever how any of this works, but it
occurs to me that __acquires() and __releases() are not in that same
list, what happens to them?

Also, there will 'soon' be an equivalent: __cond_releases():

  https://lkml.kernel.org/r/[email-masked]