From patchwork Mon Sep 16 10:54:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Khoronzhuk X-Patchwork-Id: 173823 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp3337725ilq; Mon, 16 Sep 2019 03:54:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOsACCCtgvJBZkfBo5TDpS4kpwUJt27X771x9pFH2ORFNHsHoA8NFrNn6kjCihhu7EwaA2 X-Received: by 2002:a05:6402:7d1:: with SMTP id u17mr60843154edy.132.1568631288564; Mon, 16 Sep 2019 03:54:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568631288; cv=none; d=google.com; s=arc-20160816; b=BvAYKkAGQFCcqSMCG7dCjRmU6u2hp+OUdBYPDhSI5X6ySRTZeAj+eQXo8YZTk3I7/z 9NS0J4mLKfDebsVkrcQwmV7IeT+Khji+voUzu5E2wf0YBM34eIV3tH6LsR5b7y4q3JBu 6fra6vJpjhrb1cYDagQDHI1h1CTtEsx3rZrHWmDE60DHANbt+BmKrHnswHz0gcoXO8Gm NTPpSDtxeEJbystztiFYkoT6gtqZMppvPKza/RBxH1PsowNWq7gcSJ4aYpdM0huZ8Dr1 K3IcPsu3PmrXYzjsMVAFyTYGaXg4tkae616q6hP8YI5LATC/tHCdCHLQXQLy07XTIrEV tlog== 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=myQi7tUoXKWvWu2Otr2cMzZrUikwx9p5w927Z5U7K18=; b=CDMWDVMAyJlPdn0uAN+C8Ywb5SkHuPwNAMZqvU7AgjgPEszJ0z8FkUpFSqRlYEy1a0 K9s1dKF0dRB2kyxdJmKGrcOjKhgETNbGrGxc3C83lrAXCFt3AX8fgIuEfC3sC67kkG+4 QdvRbHBcQSMHLWQHwpsvn1DJca10sp5kvBUFQiUcqeGBOuqlXOGyr6ERd0jd5cApz9c9 /nJ30RlaVYewTtTGVttMKUzLvQue4gMJQSCTsWUE5LoIv6+436vOn8JIdipkUwYNffP1 0BKvww/0dQqCVFJcyC7qk18G7q415tdx7/UmJ4gKiusc3qRdSr5bJtd9B1DrPXJUEvFj //Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zqzL4Jzw; 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 b13si21252224edt.403.2019.09.16.03.54.48; Mon, 16 Sep 2019 03:54:48 -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=zqzL4Jzw; 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 S1732473AbfIPKyq (ORCPT + 27 others); Mon, 16 Sep 2019 06:54:46 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:41129 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732442AbfIPKyo (ORCPT ); Mon, 16 Sep 2019 06:54:44 -0400 Received: by mail-lj1-f193.google.com with SMTP id f5so1272114ljg.8 for ; Mon, 16 Sep 2019 03:54:43 -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=myQi7tUoXKWvWu2Otr2cMzZrUikwx9p5w927Z5U7K18=; b=zqzL4JzwdgYet7wSFB53zjRItWpS1hdeN0ygAfE9AmPl/tgeJ6oyvRLjQXycdwZXvW 0LkJJSRAf4imSOLOE29XGY2MZ3eqllofQcObiDHWP0n70jafz5Etprt2/18so9bAoNTR PAxrU/Zo2hoAsOPF39JndhObn/PUwZAIGsIAbIudvGDm7SINJLoGj6UWh+CSx6AR54CG cqRWHQ/B4qTgGzo7uNYmgSSKMEPe9rgAJFIAtbz5BnbBBB1x1PXd9E9GZFdPz3dzbqwH 8ftOXF8bhIMPmwb3IKjgxhtoyYYyFPxole8xysIfutsFzMyg7yF01NS6KpCla5EtW1LM 4LFw== 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=myQi7tUoXKWvWu2Otr2cMzZrUikwx9p5w927Z5U7K18=; b=FrzUFfLbx6ipIbR4EACKnQQ4UQ0BnqT5QYZdYKgSQdgow9JJEXjkpbGMx3YBby+7ta NTwvMtoZCTQlC3V/Y/ijXqbLXMI1uQe3CE7cSyz+W6lE5ZaIVdrQ/GRtAmFrF3dCZxcm g86fNk6a0xMFaERqabQ0aekVIufhqLxoZL45Zsm7gPloJVD8Bs6jQcmW/+f+0sV7MfbZ WlW5Ia6M/7k2XO68urSOMk9Hob29q9Yz8z2q08U/ScY4RTBoKminhE542h6foyxIH84V 8gIChJwJvZmD/Mji0vh4SY0Ign1hISevuAN6JeGDAs/dv61gghPDrFHJNdEF/qqX+Nz1 BHow== X-Gm-Message-State: APjAAAV7/IKhqPUITUKHhU+x/yUj2D0wCHbs8r7xVJVrKvBM/YacM5Hq 1/+xPnx4dEGEfUYYwyp/bfhZoA== X-Received: by 2002:a2e:b0c2:: with SMTP id g2mr1900577ljl.217.1568631282996; Mon, 16 Sep 2019 03:54:42 -0700 (PDT) Received: from localhost.localdomain (168-200-94-178.pool.ukrtel.net. [178.94.200.168]) by smtp.gmail.com with ESMTPSA id v1sm8987737lfq.89.2019.09.16.03.54.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 03:54:42 -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, sergei.shtylyov@cogentembedded.com, Ivan Khoronzhuk Subject: [PATCH v3 bpf-next 02/14] samples: bpf: makefile: fix cookie_uid_helper_example obj build Date: Mon, 16 Sep 2019 13:54:21 +0300 Message-Id: <20190916105433.11404-3-ivan.khoronzhuk@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> References: <20190916105433.11404-1-ivan.khoronzhuk@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 1 - 1 file changed, 1 deletion(-) -- 2.17.1 Acked-by: Andrii Nakryiko 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