Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp204490pxb; Fri, 17 Sep 2021 23:58:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhMkoy/6O+OmEUon7m0vDhLsOPk7Db9Rmj4ChT8vzSlVJq/dHb3R2R9I5U9CyIwLvU3dMa X-Received: by 2002:a17:906:38c8:: with SMTP id r8mr16339997ejd.172.1631948320455; Fri, 17 Sep 2021 23:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631948320; cv=none; d=google.com; s=arc-20160816; b=jkaqPV9kJuHroT5AtBitJ6sonLhdmbQFzWtuzMDPdD5lrkBid5lqYoIKI9s5vReRpW TqbYzyF+GHou8Zwlb9b8s4VNVnTFP1AysQKfPljiT66nvrCku6SbQmp6Si00Pz8ly5pS uGeKOZPtOw/iBp4ebqP876wlhXKTsJSAW7pz2sbFH47xRwZSPBlH/Clm06uTtsdNpKK1 KVckK+R/KeQMpjvWV7ZPSyc6rTn4RpPXy+hdss7B5UjylcEYuP/rPBKX9AlRyWHCu16W FqASEWGX1GHmJksaHEPWXz/yauLaXqhEsqoVqpqzciLpmbxqwrAqIkSEOF6IVX3lhMOy 6sAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=40fDEg3fABnjTm2Jeh1ku9dFDScBQkyGxaPi+SrGI08=; b=vumGo7RCdVhxRKAhYhEJe8Kyh74aXcd0AEcaR4v1ES/zMVIT9Rz/8EgvSnkvTPGYrR Dj7dj8t3BpzCmsrFPdgX3rBxObUkPSyCI4lf0wHuQVd4VTO03n7acVbAEnLLni6I5U0B XSYZ+YlyjbC3P4kbDNboPqNTXm8WD0eZO7RgU90f9UQ6FAyBKaDpI+lXf1Dpo1VeOh7H mgNFiTzR6qiZXD9k4vy0DkW+d95mLoEJrMLpBVyJO6vm1myP7uGpKxr9FpitSli9A8oC 3um+dHBksRviYgI8V1TeDJ29oLfrY/RKwYFjmBuizK+PYpZI0z7HSP/d+6LUPpHFJUaX eoeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GbjCn6xI; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si9076131ejy.113.2021.09.17.23.58.15; Fri, 17 Sep 2021 23:58:40 -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=@gmail.com header.s=20210112 header.b=GbjCn6xI; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234498AbhIQRTV (ORCPT + 99 others); Fri, 17 Sep 2021 13:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232173AbhIQRTU (ORCPT ); Fri, 17 Sep 2021 13:19:20 -0400 Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FADFC061574; Fri, 17 Sep 2021 10:17:58 -0700 (PDT) Received: by mail-qk1-x72d.google.com with SMTP id c7so14146442qka.2; Fri, 17 Sep 2021 10:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=40fDEg3fABnjTm2Jeh1ku9dFDScBQkyGxaPi+SrGI08=; b=GbjCn6xIGP18QKsyjQ75a+2uuzkA7jodKc8CftKHKkWgQWG2S6k7S7GRF5cwQC43Tw x4EiDuMqtlpoXk87DL2KldWpMbR1KJpcfTPBRj/2ztLH2Ejhd7+CekUaOPOp6zmK9D+V HO0PTMr3/bRqoBSFdO7kAujOnhHi0GiKmidc63hbCW+Q9yrEwiR9Z13Kzd3RaOGVSRjL 87WHiPeEtbQkV4FPHug+fkK1ZnjnHeBfKzG9JJACkJHvQHY/7p+n7ucDfuvKoVYrTQd2 7Zx20w0zYEbnNZ7moeuE1VQBwQcWmTTaYkkR6BmeNIuyEqdvE1riMUxABU8xUxlMKxky Fzhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=40fDEg3fABnjTm2Jeh1ku9dFDScBQkyGxaPi+SrGI08=; b=Z1mVBN8BgDtgw6G45Abazg4OjGh7rJ1/hWPNq8G+Fk04AAJRDibDRuFVbA9SW+S7j0 vYYUHwPPGF+s6GKQNUKIAqY65Ur714hX+5t+zkownBORQ1hNhdtfvUZlwisof8izeM9m jz6nxVSazgh4vStHJQj/WWVRpSiLKICcVhNLXgLN5UgZXpBBzqs3pccDgZJlUOWyduMw ASdgHBx8UXIIaLkMrFNvqtX9WkaoLrtkmsH0KZKKwHf2dL2mehnrQJbdNkVoPiSBRohZ Cj94kScSj/zb2RMN7taqQQr5ApDcIWB89zlqbJmZDisv/GOPm/YZu/yVU9vO35SSi8Ha 5T3g== X-Gm-Message-State: AOAM532aY4EX5OJumpTAvjTyXqqFCuvbjWIZK5agdX1VY+aEPxtsmic1 mT2rPdwtc20y7yoggjZsg7ZwWR7HxlNlBPjVm9L1S8Dm X-Received: by 2002:a25:fc5:: with SMTP id 188mr14498879ybp.51.1631899077169; Fri, 17 Sep 2021 10:17:57 -0700 (PDT) MIME-Version: 1.0 References: <803e3a74d7f9b5fe23e4f8222af0e6629d1cd76a.1631785820.git.mchehab+huawei@kernel.org> In-Reply-To: <803e3a74d7f9b5fe23e4f8222af0e6629d1cd76a.1631785820.git.mchehab+huawei@kernel.org> From: Andrii Nakryiko Date: Fri, 17 Sep 2021 10:17:46 -0700 Message-ID: Subject: Re: [PATCH v2 09/23] tools: bpftool: update bpftool-map.rst reference To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan Corbet , "David S. Miller" , Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , David Beckett , Jakub Kicinski , John Fastabend , KP Singh , Martin KaFai Lau , Quentin Monnet , Shuah Khan , Song Liu , Yonghong Song , bpf , open list , "open list:KERNEL SELFTEST FRAMEWORK" , Networking Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 16, 2021 at 2:55 AM Mauro Carvalho Chehab wrote: > > The file name: Documentation/bpftool-map.rst > should be, instead: tools/bpf/bpftool/Documentation/bpftool-map.rst. > > Update its cross-reference accordingly. > > Fixes: a2b5944fb4e0 ("selftests/bpf: Check consistency between bpftool source, doc, completion") > Fixes: ff69c21a85a4 ("tools: bpftool: add documentation") > Signed-off-by: Mauro Carvalho Chehab > --- > tools/testing/selftests/bpf/test_bpftool_synctypes.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/bpf/test_bpftool_synctypes.py b/tools/testing/selftests/bpf/test_bpftool_synctypes.py > index 27a2c369a798..2d7eb683bd5a 100755 > --- a/tools/testing/selftests/bpf/test_bpftool_synctypes.py > +++ b/tools/testing/selftests/bpf/test_bpftool_synctypes.py > @@ -383,7 +383,7 @@ class ManMapExtractor(ManPageExtractor): > """ > An extractor for bpftool-map.rst. > """ > - filename = os.path.join(BPFTOOL_DIR, 'Documentation/bpftool-map.rst') > + filename = os.path.join(BPFTOOL_DIR, 'tools/bpf/bpftool/Documentation/bpftool-map.rst') this is wrong, BPFTOOL_DIR already includes "tools/bpf/bpftool" part. Did you test this? There are many places where BPFTOOL_DIR is joined with bpftool-local file paths, you haven't updated them. So I assume this was done blindly with some sort of script? Please be careful with such changes. > > def get_map_types(self): > return self.get_rst_list('TYPE') > -- > 2.31.1 >