Received: by 2002:a19:f614:0:0:0:0:0 with SMTP id x20csp26091lfe; Fri, 15 Apr 2022 17:47:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJNi/LR2GMGihaXk4riK9Cxtb7XXh00nG2eZpKy8Yz36ahf2p8tzNjxAl6y4b6xChKnWJM X-Received: by 2002:a05:6a00:174f:b0:4fd:aed5:b5e4 with SMTP id j15-20020a056a00174f00b004fdaed5b5e4mr1356201pfc.39.1650070040373; Fri, 15 Apr 2022 17:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650070040; cv=none; d=google.com; s=arc-20160816; b=Jw84AtDklnNPBJa4NaxlrC7tXYqZInqkgkP00wnZGqIysLlf/TQcdXnBFCmHg+yWmm woY82QGOFeoSy/HP6VDczY44CRMUwrRB2+S7l6XgKoniC4SwNtjgAf/NqTzsDE1o0o94 NyKfzSbtTA7o0tjIh7YX7/2suU6bD4N7bvlYciH01/YdRxY848TEAAAE8Oz5YtOWJGN8 oeOWmFVxhYvQhroo0O7wJoWkIQcvxK8HcRF+JXoATI4fHZpQah0Gti6zv77x7FyNPUno ju4q9iH2QZQe5NwCmXW0UWtDXGKsK3FKzl01wAtJsVCeTJjtX+m4QAMA+jy2Ium8bNgI hcPw== 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=en3BIOojpF/jQdRuICGHzrdkAGOaBBCAZVN2vM0jG6k=; b=epLR1xFnu3NDIU19tzUjRYJlvaPSTz63dDpRqW49Qnt10qHzu0EKkwOgzy7WvJExVi fmb0y5/vsQu7kv82SDWH2xYrH8EgY3kKDZ08bLovXzbcnmzuUVqznSM2hArgN+kN2RQh qfkZ6HcdlSGN6FUtx9KNvhZFe1HL57DGXq2j6LRrDbngaWA9HVP/gl8DYMkAYasDuvyF ozQPEHsb53aa5zhTSNevdrwWYuOKGACM/ATyCqnptRsODNDZ8ZZwRYsLeRyD25sdU5l9 cPEgRNs8Q/jlNpw4haRuZHlUJoc8Vc8E0dCNti+JTGew8V33mo8Fac/9Y1UgMim8segG T2+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LBZSxeeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x13-20020a17090300cd00b00158d0436f45si2422523plc.76.2022.04.15.17.47.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:47:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LBZSxeeT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AA7325E772; Fri, 15 Apr 2022 17:38:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356594AbiDOXtB (ORCPT + 99 others); Fri, 15 Apr 2022 19:49:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345318AbiDOXtA (ORCPT ); Fri, 15 Apr 2022 19:49:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 965A488786; Fri, 15 Apr 2022 16:46:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2A18962286; Fri, 15 Apr 2022 23:46:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8939DC385AC; Fri, 15 Apr 2022 23:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1650066389; bh=LTJf/A8Me12vLOMr5JY1SIon/1xfytx3EclH8+DlUvY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LBZSxeeTHTnhfUzAb394wiHLjDjPcy6kLVK9zRbNdHz7mA1uf3Fgnv1xQAstRgV+d lPFYg6DQsp2l7nbwuMZmQ/97nwSS0PPxnXPPO0+8ebU+guKLBLRCprQ+TO+Zjr090Q ZUEzWNL3YyvA3lwmaRaXfiKf/vfOLZa4eQN+w/1i0Db5gOBAQN1bR3XuGcqt9v9vIX pZkWct2LfHEUTqGZCXPyLJoNxRblsBNAcNmCnJCPXu6wCQ+A+dJ5+rDeXU9MUkaQHY eG4BrBrEVmBhdnNP3yR3tjddyZgEkvRuIN5sz3iHDpsRl7HeFWC2eptCx/DmPweY8z YpBGmaNXEhQhA== Received: by mail-yb1-f175.google.com with SMTP id x200so16608709ybe.13; Fri, 15 Apr 2022 16:46:29 -0700 (PDT) X-Gm-Message-State: AOAM530vC2eCXv7lsXCWGc/eICdB4S0RDS0H5D8nizzXk1WXlFUsHAaF A6xuKa/jZHRz3Hgvg77s87unx3MqCZb8WRkizR4= X-Received: by 2002:a05:6902:1506:b0:63e:4f1b:40ae with SMTP id q6-20020a056902150600b0063e4f1b40aemr1446621ybu.322.1650066388578; Fri, 15 Apr 2022 16:46:28 -0700 (PDT) MIME-Version: 1.0 References: <20220414223704.341028-1-alobakin@pm.me> <20220414223704.341028-7-alobakin@pm.me> In-Reply-To: <20220414223704.341028-7-alobakin@pm.me> From: Song Liu Date: Fri, 15 Apr 2022 16:46:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH bpf-next 06/11] tools, bpf: fix fcntl.h include in bpftool To: Alexander Lobakin Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Jonathan Lemon , Nathan Chancellor , Nick Desaulniers , Dmitrii Dolgov <9erthalion6@gmail.com>, Quentin Monnet , Tiezhu Yang , Kumar Kartikeya Dwivedi , Chenbo Feng , Willem de Bruijn , Daniel Wagner , Thomas Graf , Ong Boon Leong , linux-perf-users@vger.kernel.org, open list , Networking , bpf , llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 14, 2022 at 3:46 PM Alexander Lobakin wrote: > > Fix the following (on some libc implementations): > > CC tracelog.o > In file included from tracelog.c:12: > include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] > 1 | #warning redirecting incorrect #include to > | ^~~~~~~ > > is anyway just a wrapper over (backcomp > stuff). > > Fixes: 30da46b5dc3a ("tools: bpftool: add a command to dump the trace pipe") > Signed-off-by: Alexander Lobakin Acked-by: Song Liu > --- > tools/bpf/bpftool/tracelog.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/bpf/bpftool/tracelog.c b/tools/bpf/bpftool/tracelog.c > index e80a5c79b38f..bf1f02212797 100644 > --- a/tools/bpf/bpftool/tracelog.c > +++ b/tools/bpf/bpftool/tracelog.c > @@ -9,7 +9,7 @@ > #include > #include > #include > -#include > +#include > #include > > #include "main.h" > -- > 2.35.2 > >