From patchwork Fri Oct 11 00:27:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 175884 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp41462ill; Thu, 10 Oct 2019 17:28:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrvltRdvQ5qc8ZHyTyHwnYQkrLicXNy/IYJMvz7mv2YVdGnNm/19qfg36+F0BY6fwow8Xf X-Received: by 2002:a17:906:474b:: with SMTP id j11mr11050143ejs.325.1570753711516; Thu, 10 Oct 2019 17:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570753711; cv=none; d=google.com; s=arc-20160816; b=FsVga11nqmtfkk8/3sN1YGAEik1vST7UQVxj/5kD+zNccLCFqrOYCCgYp43YMt1/08 xbzh8ULajFXdBVUPuBdl9J0dkVXiaEo3KspeoQPTNwZoVbGWMrp12K6x1EQ4sMDX/Pk3 xRxc2wp/rGIUd1/ZtxOEstj2PWhycGWIHsepehMguL5z9ZFO2GtgL5tlUvCIxdZRoZab R0yNCMvrasPmKbA4Vsiv35eFPvy1sFXogtaBkcMhK4pnM+XZVvJ3k9lETkjf7TEEAt8B 2QO9Zz19wvUp00JzrOoIcmyelMvVkoSd2v//Jhpa9XITAOtGEKFdk4eBVJNgC0jvwbLP zo1A== 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=y12OqUDXt0uUd8S/w/N9B4j5fJB9b6dEGe48WxLpJQ0=; b=qgscZobpVtnZl1CoAyKFMTlqCAi9sAh8QJELppuncQVd0hLIPYKFCaPB2VLBZJhGp/ 9mJjqtprN9wfjXHQWwO57JjxOrZrEvS1s7v00S714gIAx2L0qOBAa89W4p8Cmwxw30rC hJ3aFVZejQZWjA6l4K5lhq7R49Iv1qYMmCDSZb0u49ST2AnvPt2hYLiebJhPEgEiNqk0 U+CkqRjMII+tzbZDuA1EJ6T2v5ibq4JR8JGYaloWvzcAqiIFujDJUj4Kj3FgcvfMuF0M 5103QdteypO+MzmKn6eSRzsAW/0a2oqkwnNJOJox9X8IjbgQLjedgaIekBOOBfA/SHuf zJIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="deZb/gvn"; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 w5si5098961edf.283.2019.10.10.17.28.31; Thu, 10 Oct 2019 17:28:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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="deZb/gvn"; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S1727576AbfJKA21 (ORCPT + 8 others); Thu, 10 Oct 2019 20:28:27 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:34280 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727528AbfJKA20 (ORCPT ); Thu, 10 Oct 2019 20:28:26 -0400 Received: by mail-lj1-f194.google.com with SMTP id j19so8070245lja.1 for ; Thu, 10 Oct 2019 17:28:24 -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=y12OqUDXt0uUd8S/w/N9B4j5fJB9b6dEGe48WxLpJQ0=; b=deZb/gvn8tRBWJ8EkwM4ZsgQbv8cKKMpAA2vf6G4xRFrYVAvufEMhW8txzk+WL8jog mRr7UCSlsEoukk0CBSI3WVyQH2ebrmaFhmUpX304VfwuEzwcBbYogWTqta96NzGab23d K4u1cCqe2+htE/tMhpH0wwPbB+TmlaC0g94WcpLpPrLjELHj2jJyPZ6ogY2MzYAw8D6P xiaMOcdpUxjpfkClJCQrCd/Z9r5gWMRFGbTxrsrxqzuBe9eeDepyP96MWN2DtWB+gp76 Dh5lfo5p3ACqIH0MOgfKt9xTZNOPlHqr4iAdNt7BnklttINOkT2odQBy2BjW8oPe/YK7 n0ZA== 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=y12OqUDXt0uUd8S/w/N9B4j5fJB9b6dEGe48WxLpJQ0=; b=oRfx1TWnKdsRbWgrDJrlaP7lihrz+3bWxg1LWZM0RuA9g/4c7imSTBepPwfFLjpdG/ PNDo191W0ONRzkJuP9CiVxtqx13Gu9Bh8Kap9vRg2GJsc4CPq9KYmSZ41CPvzZn22lcV ZIiVTKuKBdykHgdZzYs82ZbMAHfGYNF1b8sd2UYrT+KMZFOZo1HgxoaB9+gVl7GZkOyW qkpuli+iNEXPwgGJ/Y9kvFUAe5ggyxa7Y4ouD28xzMq7s5ojxwEnIVJPXOJUBQqcN+3D 7Zh2RS8H/Y96NtP+s7T+zf+O2Lvfm52vdib3l9SxHv4df+zxFOy6DwGFErbU5Pql5zxC ahDA== X-Gm-Message-State: APjAAAVKCjzRCQSVDhMgikoI0aQqLj7yfrAX+YyjpL/6m7srIll4sdku FcxXNMwROo17XdGbPzgKC0HfLg== X-Received: by 2002:a2e:82cd:: with SMTP id n13mr7735053ljh.116.1570753703648; Thu, 10 Oct 2019 17:28:23 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 17:28:23 -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 02/15] samples/bpf: fix cookie_uid_helper_example obj build Date: Fri, 11 Oct 2019 03:27:55 +0300 Message-Id: <20191011002808.28206-3-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: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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. Acked-by: Andrii Nakryiko Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 4f61725b1d86..045fa43842e6 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