mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: fix '*' wildcard formatting
@ 2026-03-04 22:42 Randy Dunlap
  2026-03-04 22:50 ` Jonathan Corbet
  2026-03-05  9:24 ` Joe Perches
  0 siblings, 2 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-03-04 22:42 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, Jonathan Corbet, Shuah Khan, linux-doc, Kees Cook

It seems that these wildcards confuse some parser (docutils, sphinx,
or maintainers_include.py), so quote them to avoid this issue.
Also insert a hyphen ('-') before "all files" in several places
to make the html output easier to read.

Fixes this htmldocs warning:

linux-next-20260304/MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-doc@vger.kernel.org
Cc: Kees Cook <kees@kernel.org>

 MAINTAINERS |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

--- linux-next-20260304.orig/MAINTAINERS
+++ linux-next-20260304/MAINTAINERS
@@ -32,10 +32,10 @@ Descriptions of section entries and pref
 	   Type is one of: git, hg, quilt, stgit, topgit
 	F: *Files* and directories wildcard patterns.
 	   A trailing slash includes all files and subdirectory files.
-	   F:	drivers/net/	all files in and below drivers/net
-	   F:	drivers/net/*	all files in drivers/net, but not below
-	   F:	*/net/*		all files in "any top level directory"/net
-	   F:	fs/**/*foo*.c	all *foo*.c files in any subdirectory of fs
+	   F:	``drivers/net/``  -	all files in and below drivers/net
+	   F:	``drivers/net/*`` -	all files in drivers/net, but not below
+	   F:	``*/net/*``       -	all files in "any top level directory"/net
+	   F:	``fs/**/*foo*.c`` -	all *foo*.c files in any subdirectory of fs
 	   One pattern per line.  Multiple F: lines acceptable.
 	X: *Excluded* files and directories that are NOT maintained, same
 	   rules as F:. Files exclusions are tested before file matches.
@@ -44,7 +44,7 @@ Descriptions of section entries and pref
 	   X:	net/ipv6/
 	   matches all files in and below net excluding net/ipv6/
 	N: Files and directories *Regex* patterns.
-	   N:	[^a-z]tegra	all files whose path contains tegra
+	   N:	[^a-z]tegra -	all files whose path contains tegra
 	                        (not including files like integrator)
 	   One pattern per line.  Multiple N: lines acceptable.
 	   scripts/get_maintainer.pl has different behavior for files that

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] MAINTAINERS: fix '*' wildcard formatting
  2026-03-04 22:42 [PATCH] MAINTAINERS: fix '*' wildcard formatting Randy Dunlap
@ 2026-03-04 22:50 ` Jonathan Corbet
  2026-03-05  0:24   ` Randy Dunlap
  2026-03-05  9:24 ` Joe Perches
  1 sibling, 1 reply; 5+ messages in thread
From: Jonathan Corbet @ 2026-03-04 22:50 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel; +Cc: Randy Dunlap, Shuah Khan, linux-doc, Kees Cook

Randy Dunlap <rdunlap@infradead.org> writes:

> It seems that these wildcards confuse some parser (docutils, sphinx,
> or maintainers_include.py), so quote them to avoid this issue.
> Also insert a hyphen ('-') before "all files" in several places
> to make the html output easier to read.
>
> Fixes this htmldocs warning:
>
> linux-next-20260304/MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils]
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Shuah Khan <skhan@linuxfoundation.org>
> Cc: linux-doc@vger.kernel.org
> Cc: Kees Cook <kees@kernel.org>
>
>  MAINTAINERS |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

I remain unconvinced that dragging all of MAINTAINERS into the docs
build brings any joy.  Is that something that you actually use?

(That said, as long as we're doing it, it should work properly)

Thanks,

jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] MAINTAINERS: fix '*' wildcard formatting
  2026-03-04 22:50 ` Jonathan Corbet
@ 2026-03-05  0:24   ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-03-05  0:24 UTC (permalink / raw)
  To: Jonathan Corbet, linux-kernel; +Cc: Shuah Khan, linux-doc, Kees Cook



On 3/4/26 2:50 PM, Jonathan Corbet wrote:
> Randy Dunlap <rdunlap@infradead.org> writes:
> 
>> It seems that these wildcards confuse some parser (docutils, sphinx,
>> or maintainers_include.py), so quote them to avoid this issue.
>> Also insert a hyphen ('-') before "all files" in several places
>> to make the html output easier to read.
>>
>> Fixes this htmldocs warning:
>>
>> linux-next-20260304/MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils]
>>
>> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
>> ---
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: Shuah Khan <skhan@linuxfoundation.org>
>> Cc: linux-doc@vger.kernel.org
>> Cc: Kees Cook <kees@kernel.org>
>>
>>  MAINTAINERS |   10 +++++-----
>>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> I remain unconvinced that dragging all of MAINTAINERS into the docs
> build brings any joy.  Is that something that you actually use?

No, I use '$editor MAINTAINERS'.
I'm quite good with rm Documentation/sphinx/maintainers_include.py.

> (That said, as long as we're doing it, it should work properly)
Yeah, just make the warning go away.

-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] MAINTAINERS: fix '*' wildcard formatting
  2026-03-04 22:42 [PATCH] MAINTAINERS: fix '*' wildcard formatting Randy Dunlap
  2026-03-04 22:50 ` Jonathan Corbet
@ 2026-03-05  9:24 ` Joe Perches
  2026-03-05 21:26   ` Randy Dunlap
  1 sibling, 1 reply; 5+ messages in thread
From: Joe Perches @ 2026-03-05  9:24 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: Jonathan Corbet, Shuah Khan, linux-doc, Kees Cook

On Wed, 2026-03-04 at 14:42 -0800, Randy Dunlap wrote:
> It seems that these wildcards confuse some parser (docutils, sphinx,
> or maintainers_include.py), so quote them to avoid this issue.
> Also insert a hyphen ('-') before "all files" in several places
> to make the html output easier to read.
> 
> Fixes this htmldocs warning:
> 
> linux-next-20260304/MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils]

I think there should be a better way than this.
This just uglifies the perfectly readable ascii.

> 
> Signed-off-by: Randy Dunlap <[rdunlap@infradead.org](mailto:rdunlap@infradead.org)>
> ---
> Cc: Jonathan Corbet <[corbet@lwn.net](mailto:corbet@lwn.net)>
> Cc: Shuah Khan <[skhan@linuxfoundation.org](mailto:skhan@linuxfoundation.org)>
> Cc: [linux-doc@vger.kernel.org](mailto:linux-doc@vger.kernel.org)
> Cc: Kees Cook <[kees@kernel.org](mailto:kees@kernel.org)>
> 
>  MAINTAINERS |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> --- linux-next-20260304.orig/MAINTAINERS
> +++ linux-next-20260304/MAINTAINERS
> @@ -32,10 +32,10 @@ Descriptions of section entries and pref
>  	   Type is one of: git, hg, quilt, stgit, topgit
>  	F: *Files* and directories wildcard patterns.
>  	   A trailing slash includes all files and subdirectory files.
> -	   F:	drivers/net/	all files in and below drivers/net
> -	   F:	drivers/net/*	all files in drivers/net, but not below
> -	   F:	*/net/*		all files in "any top level directory"/net
> -	   F:	fs/**/*foo*.c	all *foo*.c files in any subdirectory of fs
> +	   F:	``drivers/net/``  -	all files in and below drivers/net
> +	   F:	``drivers/net/*`` -	all files in drivers/net, but not below
> +	   F:	``*/net/*``       -	all files in "any top level directory"/net
> +	   F:	``fs/**/*foo*.c`` -	all *foo*.c files in any subdirectory of fs
>  	   One pattern per line.  Multiple F: lines acceptable.
>  	X: *Excluded* files and directories that are NOT maintained, same
>  	   rules as F:. Files exclusions are tested before file matches.
> @@ -44,7 +44,7 @@ Descriptions of section entries and pref
>  	   X:	net/ipv6/
>  	   matches all files in and below net excluding net/ipv6/
>  	N: Files and directories *Regex* patterns.
> -	   N:	[^a-z]tegra	all files whose path contains tegra
> +	   N:	[^a-z]tegra -	all files whose path contains tegra
>  	                        (not including files like integrator)
>  	   One pattern per line.  Multiple N: lines acceptable.
>  	   scripts/get_maintainer.pl has different behavior for files that
> 
> ```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] MAINTAINERS: fix '*' wildcard formatting
  2026-03-05  9:24 ` Joe Perches
@ 2026-03-05 21:26   ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2026-03-05 21:26 UTC (permalink / raw)
  To: Joe Perches, linux-kernel
  Cc: Jonathan Corbet, Shuah Khan, linux-doc, Kees Cook



On 3/5/26 1:24 AM, Joe Perches wrote:
> On Wed, 2026-03-04 at 14:42 -0800, Randy Dunlap wrote:
>> It seems that these wildcards confuse some parser (docutils, sphinx,
>> or maintainers_include.py), so quote them to avoid this issue.
>> Also insert a hyphen ('-') before "all files" in several places
>> to make the html output easier to read.
>>
>> Fixes this htmldocs warning:
>>
>> linux-next-20260304/MAINTAINERS:40: WARNING: Inline strong start-string without end-string. [docutils]
> 
> I think there should be a better way than this.
> This just uglifies the perfectly readable ascii.
> 

Sure, we can just get along with this one warning. No problem.
Thanks.

>>
>> Signed-off-by: Randy Dunlap <[rdunlap@infradead.org](mailto:rdunlap@infradead.org)>
>> ---
>> Cc: Jonathan Corbet <[corbet@lwn.net](mailto:corbet@lwn.net)>
>> Cc: Shuah Khan <[skhan@linuxfoundation.org](mailto:skhan@linuxfoundation.org)>
>> Cc: [linux-doc@vger.kernel.org](mailto:linux-doc@vger.kernel.org)
>> Cc: Kees Cook <[kees@kernel.org](mailto:kees@kernel.org)>
>>
>>  MAINTAINERS |   10 +++++-----
>>  1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> --- linux-next-20260304.orig/MAINTAINERS
>> +++ linux-next-20260304/MAINTAINERS
>> @@ -32,10 +32,10 @@ Descriptions of section entries and pref
>>  	   Type is one of: git, hg, quilt, stgit, topgit
>>  	F: *Files* and directories wildcard patterns.
>>  	   A trailing slash includes all files and subdirectory files.
>> -	   F:	drivers/net/	all files in and below drivers/net
>> -	   F:	drivers/net/*	all files in drivers/net, but not below
>> -	   F:	*/net/*		all files in "any top level directory"/net
>> -	   F:	fs/**/*foo*.c	all *foo*.c files in any subdirectory of fs
>> +	   F:	``drivers/net/``  -	all files in and below drivers/net
>> +	   F:	``drivers/net/*`` -	all files in drivers/net, but not below
>> +	   F:	``*/net/*``       -	all files in "any top level directory"/net
>> +	   F:	``fs/**/*foo*.c`` -	all *foo*.c files in any subdirectory of fs
>>  	   One pattern per line.  Multiple F: lines acceptable.
>>  	X: *Excluded* files and directories that are NOT maintained, same
>>  	   rules as F:. Files exclusions are tested before file matches.
>> @@ -44,7 +44,7 @@ Descriptions of section entries and pref
>>  	   X:	net/ipv6/
>>  	   matches all files in and below net excluding net/ipv6/
>>  	N: Files and directories *Regex* patterns.
>> -	   N:	[^a-z]tegra	all files whose path contains tegra
>> +	   N:	[^a-z]tegra -	all files whose path contains tegra
>>  	                        (not including files like integrator)
>>  	   One pattern per line.  Multiple N: lines acceptable.
>>  	   scripts/get_maintainer.pl has different behavior for files that


-- 
~Randy


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-05 21:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-04 22:42 [PATCH] MAINTAINERS: fix '*' wildcard formatting Randy Dunlap
2026-03-04 22:50 ` Jonathan Corbet
2026-03-05  0:24   ` Randy Dunlap
2026-03-05  9:24 ` Joe Perches
2026-03-05 21:26   ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®