Re: [PATCH -v2] MAINTAINERS: Fix Intel TDX kernel file patterns
From: Joe Perches
Date: Sun Nov 01 2026 - 01:36:39 EST
On Sat, 2026-10-31 at 18:47 -0700, Borislav Petkov wrote:
> On Sat, Oct 31, 2026 at 05:38:46PM -0700, Joe Perches wrote:
> > On Sat, 2026-10-31 at 16:59 -0700, Borislav Petkov wrote:
> > > On Sat, Oct 31, 2026 at 03:52:50PM -0700, Joe Perches wrote:
> > > > Please add a wildcard * at the end
> > >
> > > I will, once the rationale is clear and documented so that people know what to
> > > do in the future.
> >
> > MAINTAINERS currently has:
> >
> > 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/foo everything under drivers/net/ which starts
> with "foo"
>
No. The intent is to match typical file matching patterns.
For instance:
This does not match anything
$ git ls-files -- 'Kcon'
$
but this does
$ git ls-files -- 'Kconfig'
Kconfig
$
and so does this
$ git ls-files -- 'Kconf*'
Kconfig
$