Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp662405ybt; Fri, 10 Jul 2020 09:13:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE1l87TDz4PnMA06noSrwauc4oyhgEC7zu3eUhw4mwcsX1kbZgJZDYZqqXS1VsbXJCanGZ X-Received: by 2002:aa7:dd10:: with SMTP id i16mr76935166edv.227.1594397626313; Fri, 10 Jul 2020 09:13:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594397626; cv=none; d=google.com; s=arc-20160816; b=Xqp928iklkhIFF2rAckuKqD46FulJPxgMxCj9RxI4aD5Oh78FyOkMJL6ywF0uQyNhh BG/gKYjtEmeYSn/XpJ98guLlA4vUjeU0DUTHBN6VHklfoX/5SbY4oFqzdh5UY/yRSNt7 K5IjbLqMQ8Apn13R1EQXwbRcCHpEvdGVvfeVUXW0Z1pK+CDmFIa0+lh6TmYgg+JF/ye8 X5YSA/P/FJBHnhjXPmNTS4JRx9dqi9vpqZ17+HiHvZSPi4VqeP0g2wDBy5q07uET+Jr8 J1W8o4TTbd+ntyyV7Ytyv+e5qu6URWsZ+zidqGSBINoh9oWSNeYXqMIRsp15wU4zGlOA c0hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=KjEBh/BOTj8O0DP/1T6iu+nKRTbX5bjS6l9mZZGhjTI=; b=b2FJHzKMC5fn+ImL9bsTI3rTfAy2FdP97BjhXBbm6R4gUgxX0Jm68nvAYV3rAIghBE HXT5SG7hbJV1u6w+lPoanqfL5ukL/hMGIarCAGASpA7maFZ+vRSTselLZQQBQIBiebic IpyxZp+vZ/NbYHKsRnDdfAdu7BnYnGtHV5ddC2iSLX3xp9bpJKz19zLZHtQg+2lA7d+J vxoefDYh2fXTX3zPv3V59XeuHT+VYGiAJlDQm9byZSBfb1FocS6JDCowL8D0ODHFYTGs GIwYc00WvsYgBzFywAYaHzRDRWgvoRInzUL2s13Dcb4yPWgBy+euH5KT7tCDXxVCKYwJ Lgfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NpsM6cqd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si4357184ejz.151.2020.07.10.09.13.22; Fri, 10 Jul 2020 09:13:46 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NpsM6cqd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728239AbgGJQMH (ORCPT + 99 others); Fri, 10 Jul 2020 12:12:07 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:33473 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728022AbgGJQMG (ORCPT ); Fri, 10 Jul 2020 12:12:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594397526; 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=NpsM6cqdJ+fO5EIu/zjbG1XZxW84liU0m+Lbi+6dZEKaxA4HvqJt8FpdRmJCYwu3dfY71r vD7G8/JMW6jZQGOSGsHiDHHcPSasSOKHN3Gg3QHuQnoKxq9f/qrBGgevoDETxaU6EufTJK bRFh5U0DiHpK1hiCVTVclSglE/ti2pE= Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-247-w8MVyzcMPj-IV1Ekcrxdpg-1; Fri, 10 Jul 2020 12:12:03 -0400 X-MC-Unique: w8MVyzcMPj-IV1Ekcrxdpg-1 Received: by mail-il1-f199.google.com with SMTP id x2so3990863ila.11 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=sEXsFKOdqt7uCteOiyCxqH3hv7g8uHdZomTm7bPtVn6v4sDO0XIP9Hsr81uOjZ/XlL m1U+TBxEK+tfjXr1sZ+fNQ7VFNmWYeMvXmSoN4IuWyjR6e0AQFC8TwTaGuj506rEjGW0 3NDhH9Pg8EHmhGcUDPqskew9rmFLWGA3lr6nLz0N7/ZNNaVagWhqbgsyHHOh8vxlRi+W OPmCAod1b32UML4rj0WZ6EuWSM5TS0wsR93mu24KD13Ur4VuDvFUoWjTojBzhzqh7eTZ HDHfdFWr+OZIhfJCgeOjyHEP4fKqcJLN/zUtyW9G6R57t47HGMK9wT+D85emB//nl/tR QM5g== X-Gm-Message-State: AOAM5335VH/O3BHn0uKZ7b4ohbZMiloqSYmvN8UXKq4ykFNbuHWW9a/e l7aJfKmPaWzx+Az0MUwoaI08pTPZHqPf0NdWBJ8d6WfDsqtv8w552gMKyU//boBq2+y/QypVx3N tjyOTRbIK8vhH6xxV1tWw9kJL X-Received: by 2002:a02:a88a:: with SMTP id l10mr48785646jam.110.1594397522458; Fri, 10 Jul 2020 09:12:02 -0700 (PDT) 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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