From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21929C433E4 for ; Fri, 10 Jul 2020 16:12:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E985920725 for ; Fri, 10 Jul 2020 16:12:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="cfvoWVVL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728261AbgGJQML (ORCPT ); Fri, 10 Jul 2020 12:12:11 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:25146 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728226AbgGJQMH (ORCPT ); Fri, 10 Jul 2020 12:12:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594397525; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KjEBh/BOTj8O0DP/1T6iu+nKRTbX5bjS6l9mZZGhjTI=; b=cfvoWVVLcpMeMSN+GPKjwMEwZRkuzO9kjwG8JpCCyOkORIKXeMfLKNeMQuJlVE+8Gme2Nc xPw0AtudR4xxLGzYYxqD2bb0x2Cwnv0ocWDd2gIeRpl04hOk/8F/hUO++YXoODzr1eEFYQ 0lDMkJUZmY4S3tP3TIeIhUHIDNj3wCg= Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-318-BY1hIi-kOfS5vRsl9p63Ng-1; Fri, 10 Jul 2020 12:12:03 -0400 X-MC-Unique: BY1hIi-kOfS5vRsl9p63Ng-1 Received: by mail-io1-f72.google.com with SMTP id g11so3894262ioc.20 for ; Fri, 10 Jul 2020 09:12:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=KjEBh/BOTj8O0DP/1T6iu+nKRTbX5bjS6l9mZZGhjTI=; b=PProv7r4b/TuKYdR37lUGKR45CftxSsmx1eCqIPi2l8n7CZl1WlaXck/njuWLwcTgY gVMwdj9HeoO6zzbsn9raHR5pDQZMZcuHaNEzqMErMSzWuWaYHNX1fVYEzXfW93f6FAM3 L03hc9ltJH2Mza1GZxTnPIWDGk10Fz4v8eHnB+h0ZSw5E9pdAZ8YRuqY5E6J3PqxX5kf VIluIF7ubM7PAiAlmka7lVwQ3r+d+AhRiTMzKMEW9ZljuCtHN9QLa8uaJTNTPn+WTJeM DlvadE6bgmnI8wtxitN5f/xJFiAXxtULINYYwnrVSIRKMNAwyEn0G7WUHU3QRvSs8QNx N+gw== X-Gm-Message-State: AOAM532NJMVnuukWAOxodPvE5DhJkzS0Gh9HAhwT5uCe3lGq8p16krmt tHcczuH2B3ZEtpSGfmtRXv7Ey/rApHcZKKczUjVwGyrSD2A/m0zoc7yO2gNnvRAq1d3v5J4TFHS D/xQpw1f1k+YJ3Eis X-Received: by 2002:a02:a88a:: with SMTP id l10mr48785633jam.110.1594397522409; Fri, 10 Jul 2020 09:12:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy94wI731wHeAF8lN4eK3rZcY0aU8wnnlQa/0Aw+qE/7Bpzae229hnG2N1PedlmgS/crLLGSw== X-Received: by 2002:a02:a88a:: with SMTP id l10mr48785622jam.110.1594397522235; Fri, 10 Jul 2020 09:12:02 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id a1sm3518204ilq.50.2020.07.10.09.12.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 09:12:01 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 08EDE1808CD; Fri, 10 Jul 2020 18:12:00 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Joe Perches , Daniel Borkmann , "Alexander A. Klimov" , 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: In-Reply-To: References: <20200709194257.26904-1-grandmaster@al2klimov.de> <19a4a48b-3b83-47b9-ac48-e0a95a50fc5e@al2klimov.de> <7d4427cc-a57c-ca99-1119-1674d509ba9d@iogearbox.net> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 10 Jul 2020 18:12:00 +0200 Message-ID: <875zavjqnj.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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? -Toke