Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4625783ybe; Mon, 16 Sep 2019 15:46:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOzennbYgM30P7jxCo0yJIqjCJXjdwWtUT26sC1JJbS2pcstBwBni/NUVMZ/NInO0znxJ9 X-Received: by 2002:a17:907:20eb:: with SMTP id rh11mr2125690ejb.25.1568674013062; Mon, 16 Sep 2019 15:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568674013; cv=none; d=google.com; s=arc-20160816; b=fsLdiWfMI3EH3kbJt3qcZnNbENo8x24MzQo0uNnWGsZgVnHQHkuwfz3zzXSXtoiqFD uVKA9i2xt34C07+JuRP0Y+G6Fb8fy49W+4jm1EzhJIfWQelkfI+iIqCw3lCgF1gOY9OQ eMEegkEsUo+te22Xsz+tjMk4Y01YTMWXCO7bg9XEvUWmI5qi1tmCD3lNz5fhkSAE5WvA /SD+5itUsFmxHxxRsnZSqIN4CwdTkOCcTXsvLuI7DwIlAhM3Ok68HYutyf8Y8YENFbZZ XPJ+cWrKM8k8QgVwoy/Fg3UjhpFWS9VN71H0kqv9AWsEmbUIY6rq3l3LfSwY2KjiKulE BZFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=5E9DgtscC1GCtZrAXaWV/e6LeSvuqfRExaR2l222qbg=; b=FF1KuMHe+eG+6jn8/TNw/57C3WDn1Pgyn+fZaZPw1vrSpOi9rBDxMorL2ASFsCPetP 9LA8vav3FGKHKCVjz5RIvIuQJRdlFzuvNtiXcsHeu1/X5UDs+W/GdYLdWOzce0O1ygDJ 1T2AETBbFVCd0ulTk90tlwXBAPyFQBzFSnrrkRcKXjYCOPlAzVJhnP2vTUxAvsngVEer njHEpik0YDn3oVmIB/IuIjVAr5JEY0dmQJ+DyJfrs/wQBdOjYOaQVnlWLTDmzcv9RQsc UFiEBFvbMwUKjCiz2nPuQZii3UAJ7E0vu/W2jYwuH0pYJKgtKu9JkzssbOJZM+QmB9hm FHBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=enkRrJ55; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si166508ejm.109.2019.09.16.15.46.29; Mon, 16 Sep 2019 15:46:53 -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=@gmail.com header.s=20161025 header.b=enkRrJ55; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387679AbfIPUwT (ORCPT + 99 others); Mon, 16 Sep 2019 16:52:19 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:34071 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbfIPUwS (ORCPT ); Mon, 16 Sep 2019 16:52:18 -0400 Received: by mail-qt1-f193.google.com with SMTP id j1so1652976qth.1; Mon, 16 Sep 2019 13:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5E9DgtscC1GCtZrAXaWV/e6LeSvuqfRExaR2l222qbg=; b=enkRrJ55r7CGq7yUK4OocWnjoUqN9/uub1ZCS+9yECQozqQ2jDtdumCB63K7CeXa+l V0SxSGOa2bxm/UuZbey4+hVW3Iht0Nv47si42XYT9Til3uYobVfFgyM2oOxcedhJGTsa SRfEmCG1mjtekX2nNy3N2WD8vbFBgpij7OBs4C6IZWXB2JNzS6I3POMHJ14q8B8euY0j olun8rjtZ4LUOTrxIH+MGn4+lq21PMDeXOAzFdFtA7YZksoryS2UPeUl0VRQfYjBDFfw 0GOkbQduwoMvvmPtumFqWVDuHkSrHWAyaTuqiHTiiAFTsv08OgLSV6a1pXJIAO27yvlG NaBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5E9DgtscC1GCtZrAXaWV/e6LeSvuqfRExaR2l222qbg=; b=pQ086qCrJAZxk90lCU07eUltPVNd9NHJySnh92eOeSWGo2ZTovFNAx9RQhRU8NQMmz PM3kZsofdJm0fQ0Z1Zcyu18Nubh9XlmbD/atAGZvQe/3wdByF+7dkEltlnLyJTzBYOR9 MUw+xC/xH/KBzWsqRxllzkBLCd40HGKE2UAxTCc/P37q8vWd0J6ToEYi0UQZ9QkZa4JF foBt3N+RmWKC9YfFoFu8EePB2BkLPssIi7cIybEh2Hwq2QDSnR09ntQdSkaxny9/4NGr 6MrihgoUYU6X8hLUL2Zdj4huD5GJwa1ahVJf4woxZUn2h2MqRChKox7r5tyIjtt3rT2p ZRbA== X-Gm-Message-State: APjAAAWpY0HN0fM1up2xAhHimYSLU+WgZcbJx3Itfek54hoZ9aC6u7sm FLBugqAerwftNF3aDKV2175yTn3GdBgPl9zFQqE= X-Received: by 2002:ac8:7401:: with SMTP id p1mr324627qtq.141.1568667137518; Mon, 16 Sep 2019 13:52:17 -0700 (PDT) MIME-Version: 1.0 References: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> <20190916105433.11404-7-ivan.khoronzhuk@linaro.org> In-Reply-To: <20190916105433.11404-7-ivan.khoronzhuk@linaro.org> From: Andrii Nakryiko Date: Mon, 16 Sep 2019 13:52:06 -0700 Message-ID: Subject: Re: [PATCH v3 bpf-next 06/14] samples: bpf: makefile: drop unnecessarily inclusion for bpf_load To: Ivan Khoronzhuk Cc: Alexei Starovoitov , Daniel Borkmann , Yonghong Song , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , john fastabend , open list , Networking , bpf , clang-built-linux@googlegroups.com, sergei.shtylyov@cogentembedded.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 4:01 AM Ivan Khoronzhuk wrote: > > 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 > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Andrii Nakryiko > samples/bpf/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile > index d3c8db3df560..9d923546e087 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 > -- > 2.17.1 >