Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4590554ybe; Mon, 16 Sep 2019 15:04:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVNQroQ36umQTCczWSHVPIBIlIe9kfsBXTFSo4+jCCQuunKOEYRBLtaEh5PqDIfjgqIoJU X-Received: by 2002:a05:6402:16d5:: with SMTP id r21mr1515895edx.71.1568671477144; Mon, 16 Sep 2019 15:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568671477; cv=none; d=google.com; s=arc-20160816; b=JK0I6rL82oAZ+14FmIgPB6xXfvI/GfP5LS/Ii1XOPGoKqBjcxSOLZfUJ1dW0OP+Ky0 iLz3hmpDEiWd/26rDCAieuERThdlBlLAlf2ySluuMhGQMqs79LtAMk5BMUhtW3J5aIRi F7FoIvECrmMA1kXdb9AiQbA3D54xDwDIRwxzwDpfsEnbNeVM9rMLTyYbiZ05RXssbEaP RgSrscln5fxAYMIlsrXyw/NVHgFSMZuWgftiM9mlMJXMnhsiqXncOj/mrDQsdhRuC+91 jPl1Kpc0pdZDCVMWHsbPgjGtNw32E0GFfz1HL7bhUdvjXQ3anjQJn53XzwkRhqePvxQx qEbA== 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=QEfTUH7Dj5bEKXTFuGOQc+OAP+VdIgkp+YMXyKatLYY=; b=ThmetTmZWi0vVR6L6QCStGjNh6XJX0vk3w4OG9kgcuJ6Xa9NxrwSKvxkNZQedjF7k7 mfoHrLsO1yn8t2InjpAlamjheJUA/xx7ypYzhohS+fXY4NDR12GYYdbMKDKnlERLhNvX 1P4R3fzY0fMOaCqCu7oULF2BxmSB73SgKvCmPBwrxnFN17mwAMBrntMadvlWisQfBNQQ o41acybKCuNhnt6unHvHqQO4zcjtJYRuNUAv/QkJiGvsCdqdcBd88oIGPnN4+YfY6HZ2 ULsftOuuz+cxlEt8GO1T+E5r/V3rpYbmj1vjvvy4fasmbFPy9qKL3LSFYvbdYYlg+o8u 88kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RZ6erArd; 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 o25si175448edr.362.2019.09.16.15.04.09; Mon, 16 Sep 2019 15:04:37 -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=RZ6erArd; 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 S2391317AbfIPUS1 (ORCPT + 99 others); Mon, 16 Sep 2019 16:18:27 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:34170 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728003AbfIPUS0 (ORCPT ); Mon, 16 Sep 2019 16:18:26 -0400 Received: by mail-qt1-f194.google.com with SMTP id j1so1528809qth.1; Mon, 16 Sep 2019 13:18:26 -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=QEfTUH7Dj5bEKXTFuGOQc+OAP+VdIgkp+YMXyKatLYY=; b=RZ6erArdcAZdtjv3JOmWbrX4/G0vjwHOK8U+bo+sFvT5YFuZGgjV6AOft9NjTWc2zF gYYrQLCUNQqxHmDMF9osHnUVsKnGJJfEQvBZ6KLby8w2wqExy4QoXDHO9gDnZxQ5GxRc VBI+3ejWmrJnYjI5YAv78mq2nvYJ9x9f6G1h9ZoRgW99rH03H63kuZ7PG1Lsoeaqehbm GET0TL50doQoESLtm2vTNs1EU3+9Sg2blvTaoI91O/w5BoMKFwoi7uTzsI/LxC2V2bR1 /DYrMEqoeiAx+s48lIsCkGJlXAyG4BHNFyDC/2T/JjmsBQLe0Bhor1thC8+e6koCprSp +GUg== 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=QEfTUH7Dj5bEKXTFuGOQc+OAP+VdIgkp+YMXyKatLYY=; b=ujQOjsnXJblsoYVz3BZbawAymykwWKwgb9/8IL8pSuQ9SDVa/39/CJ/1KoH+6xAYgP yiogsQYl8Xtto8Oh/Z5S1Vzp3TK02rmOU8U/6kV0na7i/rzmrkEDWIiwfbU4Zf9D5t3V pcN6XEJfACN6elWFKwBp1dBVW4il04wdyW9TZSBfwHOMfAzIr/bIxJ7I8QDE7KiubUyy B4CK4baAcC5eGPiqLZMwuXxPW41I2ZsyRIG6O3Y3MFhs+Ls6uUgEY9DrGUtnt3XWAIDy G6pW5X4wG8CBnzuKolHDrGhyH9GZWLqUxs16TLYHSTiTPLLGxvERmKa6GJqqEKP+0m9U YOgg== X-Gm-Message-State: APjAAAVEziO7HMLFq5yB0nWvBH4Nh2xfkYiJfIO5jo7MWh5XJ1YXPGuk BMi8iSDQ0ADQaIcoaMohK96vT5KhcGxX8A2RdgE= X-Received: by 2002:aed:2726:: with SMTP id n35mr188114qtd.171.1568665105443; Mon, 16 Sep 2019 13:18:25 -0700 (PDT) MIME-Version: 1.0 References: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> <20190916105433.11404-3-ivan.khoronzhuk@linaro.org> In-Reply-To: <20190916105433.11404-3-ivan.khoronzhuk@linaro.org> From: Andrii Nakryiko Date: Mon, 16 Sep 2019 13:18:14 -0700 Message-ID: Subject: Re: [PATCH v3 bpf-next 02/14] samples: bpf: makefile: fix cookie_uid_helper_example obj build 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 3:59 AM Ivan Khoronzhuk wrote: > > Don't list userspace "cookie_uid_helper_example" object in list for > bpf objects. > > 'always' target is used for listing bpf programs, but > 'cookie_uid_helper_example.o' is a user space ELF file, and covered > by rule `per_socket_stats_example`, so shouldn't be in 'always'. > Let us remove `always += cookie_uid_helper_example.o`, which avoids > breaking cross compilation due to mismatched includes. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Andrii Nakryiko > samples/bpf/Makefile | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile > index f50ca852c2a8..43dee90dffa4 100644 > --- a/samples/bpf/Makefile > +++ b/samples/bpf/Makefile > @@ -145,7 +145,6 @@ always += sampleip_kern.o > always += lwt_len_hist_kern.o > always += xdp_tx_iptunnel_kern.o > always += test_map_in_map_kern.o > -always += cookie_uid_helper_example.o > always += tcp_synrto_kern.o > always += tcp_rwnd_kern.o > always += tcp_bufs_kern.o > -- > 2.17.1 >