Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp762833ybt; Fri, 10 Jul 2020 11:42:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhuusOjEx6YjpKaw2054kVsDxGqbfh5DUqb7KRcOcNcygIN8p+Z7t0iemRePzwwbCbMMVl X-Received: by 2002:a17:906:e0c7:: with SMTP id gl7mr58689777ejb.264.1594406565171; Fri, 10 Jul 2020 11:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594406565; cv=none; d=google.com; s=arc-20160816; b=0zaDourbvO9X5kciORZMeD9E1MLokPvGR/t8V+pX1YwSEAy9FTJq7Uj8jYHEd4+40d aB8UVXwwMxXAAnz2uVjU6SQesCsKTe7xe085qjq3O4NED5GZUbR3cyeQMPGhJEh5d35N 7Q/FsNZyTzuvELjc11mZnoc3V5cMe0pve9DxsSK2YWJ8QxuEj9sAdfOYQkLEhyM47P1w wQGt5sOrpxuMCtBgU65PkNYrb/qbvyEVZaJwz2k3zkLUl7uYCAG95y1hvgknBEGGn49M /LcCGxFdtOAV82oN0Bwx1FfED3gt9Pz60aylj7KBz1TUdx/Ne/bv+SOzZa9vYwdiGzMs faFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=wyEpQvev1+kz2WNdrk3QSflpfYdN0/i2w+rGh5AKxss=; b=TwGvj6gYfq/uF16BNom81rTADM2aiASzBQa14T6FcG9+6ojpNBHm9sqNZNUMKApzq8 ufKoYqpQbgNKUcGWsmcS8f6YgOF1ACRDTg/+4ntvQV757/BNINYTfEiIEwHW8QfRYtb7 ulORK+XgO6e8TXvAoHnxxqDfFWwvB9KiePmA5K3mNUkwuSoWhaS0uSFAbZrNMgJp6+QW vbVslBZQt2opAkV9v22qFRgUM71/COC+7SfJRNy6bfb/KWIQYQrx0+vIRexc36ZWz5fN 3/MBcUOy81CltTNEHCJQ3MMLA7CwF3Z4yNJJF9+cYeKbOq1ZeZWZi1FIjH8uE+QoF6WB 35nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si4699101edr.555.2020.07.10.11.42.21; Fri, 10 Jul 2020 11:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728022AbgGJSmO (ORCPT + 99 others); Fri, 10 Jul 2020 14:42:14 -0400 Received: from smtprelay0092.hostedemail.com ([216.40.44.92]:46638 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727082AbgGJSmO (ORCPT ); Fri, 10 Jul 2020 14:42:14 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 25EAB18224D98; Fri, 10 Jul 2020 18:42:13 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1381:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3165:3355:3622:3653:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6119:6737:7903:10004:10400:10848:10946:11026:11232:11473:11657:11658:11914:12043:12048:12297:12555:12740:12895:13161:13200:13225:13229:13439:13894:14093:14097:14181:14659:14721:21080:21451:21627:30054:30056:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: offer53_1103c9226ed0 X-Filterd-Recvd-Size: 3791 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf20.hostedemail.com (Postfix) with ESMTPA; Fri, 10 Jul 2020 18:42:10 +0000 (UTC) Message-ID: Subject: Re: [PATCH] MAINTAINERS: XDP: restrict N: and K: From: Joe Perches To: "Alexander A. Klimov" , Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , Daniel Borkmann , 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 Date: Fri, 10 Jul 2020 11:42:08 -0700 In-Reply-To: <458f6e74-b547-299a-4255-4c1e20cdba1b@al2klimov.de> References: <20200709194257.26904-1-grandmaster@al2klimov.de> <19a4a48b-3b83-47b9-ac48-e0a95a50fc5e@al2klimov.de> <7d4427cc-a57c-ca99-1119-1674d509ba9d@iogearbox.net> <875zavjqnj.fsf@toke.dk> <458f6e74-b547-299a-4255-4c1e20cdba1b@al2klimov.de> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-07-10 at 20:18 +0200, Alexander A. Klimov wrote: > > Am 10.07.20 um 18:12 schrieb Toke H?iland-J?rgensen: > > Joe Perches 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)|(? > > > 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? > In *your* opinion: Which of these shall it (not) match? Dunno, but it doesn't match these files. The first 5 are good, the rest probably should. $ git ls-files | grep xdp | grep -v -P '(?:\b|_)xdp(?:\b|_)' Documentation/hwmon/xdpe12284.rst arch/arm/mach-ixp4xx/ixdp425-pci.c arch/arm/mach-ixp4xx/ixdp425-setup.c arch/arm/mach-ixp4xx/ixdpg425-pci.c drivers/hwmon/pmbus/xdpe12284.c samples/bpf/xdp1_kern.c samples/bpf/xdp1_user.c samples/bpf/xdp2_kern.c samples/bpf/xdp2skb_meta.sh samples/bpf/xdp2skb_meta_kern.c samples/bpf/xdpsock.h samples/bpf/xdpsock_kern.c samples/bpf/xdpsock_user.c tools/testing/selftests/bpf/progs/xdping_kern.c tools/testing/selftests/bpf/test_xdping.sh tools/testing/selftests/bpf/xdping.c tools/testing/selftests/bpf/xdping.h