From patchwork Wed Oct 9 20:41:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 175683 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1264129ill; Wed, 9 Oct 2019 13:41:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzg+WbBoledOQ35Vc/C3270yXMPf37GPVwlvzBtEMh0rOFz3F7If840K/KhoPclVXQqHBn X-Received: by 2002:a05:6402:7d2:: with SMTP id u18mr4936105edy.23.1570653718885; Wed, 09 Oct 2019 13:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570653718; cv=none; d=google.com; s=arc-20160816; b=I8FwRIqW1F9NuaCXPnBEToEK9JCTUVI5Kac4v8iyLou/0KzpLL4hputWnoo9TxEGMp y3rDbmAsV2o37wgAhUcr3feh11vFR2AomSChc7E/ALvQk1b12xB6cQA0ibCfp3ZEoyq+ 8/R3cTygVSD80sCQcKfpMvpNdDGkhuO0/8aZzsNeD4xp80BOHRfgaOC7iD1S12SHomZ9 ifA0gtUNn580qAelHK9Q6N4GadoukT9YPEuOQkS4BCqELGqJhZC1rZVqwdXypYU1uchh Csa+KIXPEntFTgxck9WoDVAoIUMHkkEUnj9MZ5V1m6XDd7cu6wmI0aCODxn6RrMgvg5j N79g== 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=NwMxpijOhx/QG5oFt2FHy8o6HbylXikbuQYC1mLEoWEE250knKvl/7seh2bhg0VQMz RBP6Yem6/YkrbDVzLRkmGPeptliN0/ml4uCz8JIEGRhLAgfjouZuzVdrv6ZucBYI5NFC 5A4codCyI0hfTO6cYJ72RKEOvHexcaK8Jkn3jgDZEBuh/dIdG3i+aE+aegkP3GXPvCQ/ gxodjatapQBHiqNbX9DHI8odXBUvdnoWfVfnB04ifnWWygGUesyk1nYo1JUgD7dEjebS EQD/oXBSguTBz6Xut5nrLfrCgajcgjnMTKeyqGBXAGa32CcT0xv9tU8o9VoaR7vbDrrS b2HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qkf+hcum; 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 i33si2126486eda.205.2019.10.09.13.41.58; Wed, 09 Oct 2019 13:41:58 -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=qkf+hcum; 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 S1732057AbfJIUlz (ORCPT + 26 others); Wed, 9 Oct 2019 16:41:55 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:41397 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732018AbfJIUlt (ORCPT ); Wed, 9 Oct 2019 16:41:49 -0400 Received: by mail-lj1-f173.google.com with SMTP id f5so3865227ljg.8 for ; Wed, 09 Oct 2019 13:41:48 -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=qkf+hcumHsQI6T6Bbst2NXrX6p/4qw3OeD4CpV1jU/++8iHkhW3cMYtNH9mREMkDZY dw0k847/GZ3RsBrIo6fLNuSBl+IS3TYL5uYngPA39KkRaREOxcb7fn1Lm8U6nxkyVzpp kKHLIGY97UeNipi308i0NGdVLMg6MXgyvQFiWlqCpjL61Pk2JwLpqqKnCIr76E8QFXcx IIO4JkEUcrZxZ2lYIBVT9plAKyNyRif7shOotjWAv8xJ5mPhfMT+HN9YA5uN/dcMnf6o S/Nk38iowj23/tgkQKaz6riDTwBDoyPL2cpRnWLh++wojn81jeid5itZbrGgJocTdlw/ 9LFw== 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=rZ8mwtGCXcj3dnqc7s3uYhDxjdzJ4QQ15fHvfnWwIxYmB94q55jCSJA/XmhwZmpB5q wxF0wIXZmGj58SdH+XI04gdn19HWfRC8dWSBsDJeYSIuW1CffRnrPSDqDVjXJD1fCJb+ 9deQJpFJCQj+Nb/AKmO8Lbn3UMajhtoGrUTnBfQqVyjh3doYgYdc2rd2BAztSpSLgECX DipqyVUSEp3EFweRoPfICRMT+iB3uPt2SCq2mHiELIuK2LdwhEAycPYPBs4uvoFAgyuj k1Om1G05QYgq9ArEYvIN1+TQ6fJ8aMNJRznCONgROk+IrshEewcIgGTKenEoO2tBICFH bB9g== X-Gm-Message-State: APjAAAV7F+40XiBDIumsm8B2mwR1Tf+Wz7rhDpFk5pbmeUc+XaJvKgVP MwuyFTp5Vb0QHcUbylH0vIswyg== X-Received: by 2002:a2e:89c9:: with SMTP id c9mr3470319ljk.108.1570653707934; Wed, 09 Oct 2019 13:41:47 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id h3sm730871ljf.12.2019.10.09.13.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 13:41:47 -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 v4 bpf-next 06/15] samples/bpf: drop unnecessarily inclusion for bpf_load Date: Wed, 9 Oct 2019 23:41:25 +0300 Message-Id: <20191009204134.26960-7-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191009204134.26960-1-ivan.khoronzhuk@linaro.org> References: <20191009204134.26960-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