From: "Toke Høiland-Jørgensen" <toke@redhat.com>
To: Joe Perches <joe@perches.com>,
Daniel Borkmann <daniel@iogearbox.net>,
"Alexander A. Klimov" <grandmaster@al2klimov.de>,
ast@kernel.org, davem@davemloft.net, kuba@kernel.org,
hawk@kernel.org, john.fastabend@gmail.com,
mchehab+huawei@kernel.org, robh@kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
bpf@vger.kernel.org
Subject: Re: [PATCH] MAINTAINERS: XDP: restrict N: and K:
Date: Fri, 10 Jul 2020 18:12:00 +0200 [thread overview]
Message-ID: <875zavjqnj.fsf@toke.dk> (raw)
In-Reply-To: <a2f48c734bdc6b865a41ad684e921ac04b221821.camel@perches.com>
Joe Perches <joe@perches.com> writes:
> On Fri, 2020-07-10 at 17:14 +0200, Daniel Borkmann wrote:
>> On 7/10/20 8:17 AM, Alexander A. Klimov wrote:
>> > Am 09.07.20 um 22:37 schrieb Daniel Borkmann:
>> > > On 7/9/20 9:42 PM, Alexander A. Klimov wrote:
>> > > > Rationale:
>> > > > Documentation/arm/ixp4xx.rst contains "xdp" as part of "ixdp465"
>> > > > which has nothing to do with XDP.
> []
>> > > > diff --git a/MAINTAINERS b/MAINTAINERS
> []
>> > > > @@ -18708,8 +18708,8 @@ F: include/trace/events/xdp.h
>> > > > F: kernel/bpf/cpumap.c
>> > > > F: kernel/bpf/devmap.c
>> > > > F: net/core/xdp.c
>> > > > -N: xdp
>> > > > -K: xdp
>> > > > +N: (?:\b|_)xdp(?:\b|_)
>> > > > +K: (?:\b|_)xdp(?:\b|_)
>> > >
>> > > Please also include \W to generally match on non-alphanumeric char given you
>> > > explicitly want to avoid [a-z0-9] around the term xdp.
>> > Aren't \W, ^ and $ already covered by \b?
>>
>> Ah, true; it says '\b really means (?:(?<=\w)(?!\w)|(?<!\w)(?=\w))', so all good.
>> In case this goes via net or net-next tree:
>
> This N: pattern does not match files like:
>
> samples/bpf/xdp1_kern.c
>
> and does match files like:
>
> drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c
>
> Should it?
I think the idea is that it should match both?
-Toke
next prev parent reply other threads:[~2020-07-10 16:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 19:42 [PATCH] MAINTAINERS: XDP: restrict N: and K: Alexander A. Klimov
2020-07-09 20:37 ` Daniel Borkmann
2020-07-10 6:17 ` Alexander A. Klimov
2020-07-10 15:14 ` Daniel Borkmann
2020-07-10 16:00 ` Joe Perches
2020-07-10 16:12 ` Toke Høiland-Jørgensen [this message]
2020-07-10 18:18 ` Alexander A. Klimov
2020-07-10 18:42 ` Joe Perches
2020-07-10 18:57 ` Toke Høiland-Jørgensen
2020-07-10 19:04 ` [PATCH v2] " Alexander A. Klimov
2020-07-10 19:37 ` Joe Perches
2020-07-11 8:23 ` Jesper Dangaard Brouer
2020-07-11 11:10 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zavjqnj.fsf@toke.dk \
--to=toke@redhat.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=grandmaster@al2klimov.de \
--cc=hawk@kernel.org \
--cc=joe@perches.com \
--cc=john.fastabend@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.