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

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®