Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp747392ybt; Fri, 10 Jul 2020 11:18:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXLIBi7wnJTbWiqBbbuwWBG8DBzymrH/RinwIWW910qCP+CBhPv0Ht0l3rBRlLGkDG/zEy X-Received: by 2002:a17:906:270d:: with SMTP id z13mr54847625ejc.281.1594405132324; Fri, 10 Jul 2020 11:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594405132; cv=none; d=google.com; s=arc-20160816; b=ktXj0mvAJbLcqVXqNmfgduBoAgKCr+LZy244cEGEeg78KuL56Ipw8y9aBlyGCJdHV3 pBdiK9etnmHe1aeA2QjVvhzg9dXHetD/U9X9u2c1CTVqDHPqjt7DNksb1TET34vXL7/t sOwC0MNCgwktM3llg6yy/oADLbpKO1ELbz/WiDrSIsf0sVkisc5kSezab//YHZpZjhgu RR2eUdafxw9Xf3TJnc6LdCghsqwiP7cz/NB+9U5LX7GP/VVIcJUGp5wBHizHNVZjnzfH mjd/a7hYmSlGwxFH1b9lEM6pndPxy6TYOvIS2N8qP8Zt/CRnRTlE1lg0mkUYyRLuJn1X lT5Q== 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 :content-language:in-reply-to:mime-version:date:message-id:from :references:to:subject; bh=0YtV7PBogQRHAWYHTTAfbrEKRkdo/8JS7zkbZ67H5Nk=; b=AZzQfX+7UHhjR53WWZaJupHqMa8hC8VFj3jj/+Jbmu1Iow9/N2VYcXg+wbAMACxcOj M+VnYPLFOnyq+eS7VQOwCwtxz8aJXRJa3wuslfVPIpMXv6+9W4mrnf5hP9ym7C3g4h/d k6mVMUeUKnGjNJNynhdRd68BXP82RR91qnJ+/mnr255PSEnZ7chZ/vc9bZiyI3g8MYFr vOTRKigLRTZuyiyoNRPpQYKNVfmlxtU4zvk0DmpO8tqvEE0OZmLDeubY8Pbiopm/j4U4 wpoUeZGt/AhAwtwXoNHUz1rbOM24qcPS1TFIEHEqTUBupJIciQPoAKkIvIpgeC5m6nbM FmaA== 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 s14si4217551ejx.43.2020.07.10.11.18.28; Fri, 10 Jul 2020 11:18:52 -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 S1728121AbgGJSSR (ORCPT + 99 others); Fri, 10 Jul 2020 14:18:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbgGJSSR (ORCPT ); Fri, 10 Jul 2020 14:18:17 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A900C08C5DC; Fri, 10 Jul 2020 11:18:17 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id 0698EBC117; Fri, 10 Jul 2020 18:18:12 +0000 (UTC) Subject: Re: [PATCH] MAINTAINERS: XDP: restrict N: and K: To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Joe Perches , 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 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> From: "Alexander A. Klimov" Message-ID: <458f6e74-b547-299a-4255-4c1e20cdba1b@al2klimov.de> Date: Fri, 10 Jul 2020 20:18:12 +0200 MIME-Version: 1.0 In-Reply-To: <875zavjqnj.fsf@toke.dk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de X-Spamd-Bar: / Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? > > -Toke >