From patchwork Fri Oct 11 00:27:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 175888 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp41572ill; Thu, 10 Oct 2019 17:28:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJjK232sr6ET87JgrevDvrvTrGW2sgbZPQm4rYvvjGfR8472x2FkXhs5o1c4dXduY622b1 X-Received: by 2002:a17:906:ce53:: with SMTP id se19mr10801715ejb.17.1570753720289; Thu, 10 Oct 2019 17:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570753720; cv=none; d=google.com; s=arc-20160816; b=pQ69oQXNEUmaua5kjXURhK/IjW8c1ZXOGM1yeg1sA+4nkAQL8LEImjkyjaH05oxtpk /lnFeRV5nuiWy+38D+GETiZInd8XqSRbry4r0c7lWfiCXYgEOVp3PauLsJLMm7G4eXMm EA0yMnz63Lakp6AA43NuWBDBjxd6Oteju1iv4iGqxvOkQwUYKwwsVrcu6dm14GsXpURw rqucipP0e29zTteWJcoNpSS2SiQUKctedZ5xNDPIhQ1cW229aPkLE71UrjlVZJExRG6P cNY/TEmKniIOQWeM4inR9XlWWDx+OC7xjQQocQthHRoVTP246YuZB07vxBN3m3mVfBNY 2rdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ZXAfjdX+WvsCZ4Putv4iaBG542bdy+GxK4sst7rF5S0=; b=IdTcVX8cYohcU2cAZQBtckId+gVtzpX9sAq29Gcq3IgsnDVUSAfeKmSF/M+Jyhm7Ig 3ekQpGM5rhAmq6gJZD3OUn5PlmevKMw+jWxGghYmHSqXNEBWm4kkuxhMtSdCL68DJ5Rp q5CWXrxug1vxz59wjPYS2gVsYZmgvr0MjpCyqV+DLel3mxgjLBSbV9lzbWwK0RKkMCtE 33V4bgW0zq/pj2vtoGHdW4Aou8525XzvXtio+TgcnfkC8+XlXYiKUgtgYxM7o5xFWz5P leNWaXx/rSux9xoChDzGW6A0DE7C608HTr7WDxBzgA78SzvhlpJWsTxfJi3bJCN0L9ib /DuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8B4vmxp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y50si4737688edd.237.2019.10.10.17.28.40; Thu, 10 Oct 2019 17:28:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U8B4vmxp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727739AbfJKA2h (ORCPT + 22 others); Thu, 10 Oct 2019 20:28:37 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:43201 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727609AbfJKA2b (ORCPT ); Thu, 10 Oct 2019 20:28:31 -0400 Received: by mail-lj1-f193.google.com with SMTP id n14so8001802ljj.10 for ; Thu, 10 Oct 2019 17:28:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZXAfjdX+WvsCZ4Putv4iaBG542bdy+GxK4sst7rF5S0=; b=U8B4vmxpgfJnzBiDJsbyyQvQCGTuwkGq440RprVd0W/jBwPaWulfeCmeD7ZzaIVdWh PBT2V1HNzKuxn9toI+ubYWKykuXxFguzRYTDd8aU43+pbuXMFAXCOFHgx8OTesJKeHiP u8fxXTOmnvuWqXYlx3MeAD2HpWswrvkvtw0QVFQ1TgcOPxhyNo1fHUaNodXg+eVN8lHz lyUqk+Nwewllbi0cPmn0R28no3ae8PrTbX1i54WHZxoYPkI0ILgtCmFu+vOGKLD3Eskz vjscmyBfhit3N498RUoFIS4ShuUVwWFD8rcLhkMAMURHLcw3iCv8D598o9x/C5n1OoqD dIFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ZXAfjdX+WvsCZ4Putv4iaBG542bdy+GxK4sst7rF5S0=; b=m/XmnR5Mc5y8v0FdR5T3USIo4SwuJvjnbJy8k+3U5tObDA+WkQpb1+MUjrhaLRrydu YzpyTg3GVyXomHhaYqyFYDMGkvkdodm0mvLkoiOGXSI0CvRSoyFbxmlFkP6WiUemkFiS HLuPqWDuuUiV/E6gWW70LJiLW914EGvjdLvVqbt906iWQP+PZm073Cud5CbomtOQ79B8 i01J1YlfSFUKLiv8uKhYADWHVAVvMX2SDYlpZ9Ewe8B2Nn94Gnl9XYc37NvSnAAgrxYq TdX+OErOBJ4EnrNeUrb+caDX1B45nTbgmsNJCaeAwHNCkp1xWMjDJmgnpvkz/4gWNOVu nCEA== X-Gm-Message-State: APjAAAUOXgY8J5ZKyFcnod0ZF2K5nXmqdG3oSFRi27EsA5CiSFfn8X8v OnaVJfBBSG5POm+NQY9hefaRvw== X-Received: by 2002:a2e:9890:: with SMTP id b16mr7075689ljj.153.1570753709112; Thu, 10 Oct 2019 17:28:29 -0700 (PDT) Received: from localhost.localdomain (88-201-94-178.pool.ukrtel.net. [178.94.201.88]) by smtp.gmail.com with ESMTPSA id 126sm2367010lfh.45.2019.10.10.17.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 17:28:28 -0700 (PDT) From: Ivan Khoronzhuk To: ast@kernel.org, daniel@iogearbox.net, yhs@fb.com, davem@davemloft.net, jakub.kicinski@netronome.com, hawk@kernel.org, john.fastabend@gmail.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com, ilias.apalodimas@linaro.org, sergei.shtylyov@cogentembedded.com, Ivan Khoronzhuk Subject: [PATCH v5 bpf-next 06/15] samples/bpf: drop unnecessarily inclusion for bpf_load Date: Fri, 11 Oct 2019 03:27:59 +0300 Message-Id: <20191011002808.28206-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191011002808.28206-1-ivan.khoronzhuk@linaro.org> References: <20191011002808.28206-1-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Drop inclusion for bpf_load -I$(objtree)/usr/include as it is included for all objects anyway, with above line: KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include Acked-by: Andrii Nakryiko Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 9b33e7395eac..bb2d976e824e 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -176,7 +176,7 @@ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/ KBUILD_HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include KBUILD_HOSTCFLAGS += -I$(srctree)/tools/perf -HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable +HOSTCFLAGS_bpf_load.o += -Wno-unused-variable KBUILD_HOSTLDLIBS += $(LIBBPF) -lelf HOSTLDLIBS_tracex4 += -lrt