Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp885243pxb; Fri, 22 Apr 2022 13:25:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4MIXKslGZF/pmW0N5UmdRGIWZ2R/d7aca7y6GQtl2Tt1wMsP/QZshm9GPR96AvIKTTl36 X-Received: by 2002:a17:90b:1e4e:b0:1d2:8dba:67fb with SMTP id pi14-20020a17090b1e4e00b001d28dba67fbmr7368227pjb.55.1650659128990; Fri, 22 Apr 2022 13:25:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650659128; cv=none; d=google.com; s=arc-20160816; b=Qut4r5BpTLD6SyRUpqBu+uzl5xYEItvb0eXjo0zCHSz1kguy2OrbpEFX8kwV1JQPn4 jtkTpDlCCSk2oQruDcQ52PqOOPCo+eIRlhem7mMmdpgMm094m+sU0NUL7lfXb6gv/Rar vu4oQwG6PiLsoQTh6uHHYXPeLS5MzzjU5icZbzQEwGbsqlEO9DNjXEDVrKr9DC6Du5HB u86EmBooo5gzQmTylI/wTREINM+ABwtoY0a5ruPngPPf7hnr5F6bsZtAqOU4oilnwzAN 69rFtxN54Vx4jGek8IMILTEF1aQn1QEAETfNb/JCIvJEbgBNXPmpnBIgKa4hEDMXUAR5 igQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=xsNYvkm5Qd125vyidZBd6wtSSydi8Pp6nb55LqTjBlw=; b=cfLkoI0GUub5n8nO9qWawHKUFvxoKqA5UlltMm1Onyj3VVZWVJxkEWIcLODUqgZXWC wPSSlFgk6itjlggUwRgX3TPTTgCphFIaKVMf8GxXy4JJqDvkLCigI1WbVPzagHs/RLcE Sj/OFXSmwp9SCZJrHoG0p3abbSeX5EVS2kJkBBBgUmaqoRNst/x+6WgDDA1AHEQoXBWQ k+m6fxaE6xrP8dfDhZC4ZwVVoR7yN1NTPtf83DiQGCUGm2rL1P10rjwFnImDOmoXN3/x Q6pAFcrKwWAdtzL96WYKFGthr75RK9dWAVoN23ZtFLqrTdqaWG3eZ6uzcQDsBzVb/ISf Urmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail2 header.b=dS9u56yR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i18-20020a170902c95200b00153b2d1647dsi10097747pla.133.2022.04.22.13.25.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:25:28 -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=@pm.me header.s=protonmail2 header.b=dS9u56yR; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E93126E16D; Fri, 22 Apr 2022 12:12:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383500AbiDUAmP (ORCPT + 99 others); Wed, 20 Apr 2022 20:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383491AbiDUAmK (ORCPT ); Wed, 20 Apr 2022 20:42:10 -0400 Received: from mail-40131.protonmail.ch (mail-40131.protonmail.ch [185.70.40.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79B8F245BC; Wed, 20 Apr 2022 17:39:18 -0700 (PDT) Date: Thu, 21 Apr 2022 00:39:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail2; t=1650501556; bh=xsNYvkm5Qd125vyidZBd6wtSSydi8Pp6nb55LqTjBlw=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=dS9u56yR1Ee0jS8CgcSI9UUgtL7gjpQnm5XkfmIF0d21RxGa0Cll2OUQWgSywkX5k Q79O0HkfV9P+Xx3Cxkdsy1V6vPK3pM/ZywTMuNu30pJmtazMqkUs6n1KpMeM0yL3Rq D0FOZ8iP/D8oZLZbfNKiStHbRgv/aJW7Ff3f2/lFCtWzs03RUOIalGbthXSa8EB/UI qYSUR825wYkwEdZdTvXvBFYH0wYNp21C5NVMNlHoMeivOIwgBpbAbBSMUsVF35WDnB SlW9koZjJhR7ebCZRbO4bFpsV/zNbY36y6KvEAj2bG8Xy7kGzT+iXXIrnG+l/po9hi NnUdJFa3rw+JQ== To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko From: Alexander Lobakin Cc: Alexander Lobakin , Maciej Fijalkowski , Song Liu , Kumar Kartikeya Dwivedi , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: [PATCH v2 bpf 04/11] bpftool: fix fcntl.h include Message-ID: <20220421003152.339542-5-alobakin@pm.me> In-Reply-To: <20220421003152.339542-1-alobakin@pm.me> References: <20220421003152.339542-1-alobakin@pm.me> Feedback-ID: 22809121:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 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 <= sys/fcntl.h> 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"= ) Acked-by: Song Liu Signed-off-by: Alexander Lobakin --- 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.36.0