From patchwork Wed Oct 9 20:41: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: 175694 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp1265127ill; Wed, 9 Oct 2019 13:43:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5ZHwp8IYleUE8bN6Ui8sLZqnCEWZdkvoUPp2RSAbVPFO8niJJslZ3Emc4Z/dLfVqqHaxf X-Received: by 2002:a17:906:3009:: with SMTP id 9mr4833394ejz.124.1570653782521; Wed, 09 Oct 2019 13:43:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570653782; cv=none; d=google.com; s=arc-20160816; b=StO1AAwX5atimA3XmaIlFooRta6OCQpPXQXjCFkNN53KCsJmq0gvItRjnbD6oXVvkC H9FDXCL1qZ26swSofD3fZiMkkkqdNjbS2KG10fI8sDv61hQW/JlcOpg8rpOG5tZqacQ+ kvH6sR9pd946zQ82vBQSTAAuBuVXo+heGVmEUyf1KeK3bygtpk3blAQ1RPlRDs02oiBA PH4ZYYPTTRVyEike98jKjFmHGE+A67zC3G9y+jyV3XqwWy9IBTaqEAGToXiWP/gIOxxm uXCf5feCL1quo68K01w1F1ABBhnrtWHfIyN7AcLLGRwUzhRIjzaHw5PdSgtW3gGYQsii zHug== 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=KuWqxLmC8R+dekKx5FIImtJPYIZ2P+4zBcv+UVWUoryNEkHB7OZ+aWm1zHd0OiwN78 ycB2OAqdUI7Oe7kWgjbW4sq76QiWnY+CQMBAXXrtRclT+lCh5zzOTjEiKnStZObd81t7 vRXyGedczX9AVRRi09fDjFdQJP8VdduyvcnmqftTGSNBXtAMSHB3CV5CTmG5UWdjtdtC ZFWu3D4Kkky/uF4EdI4Uam+3Gk2y31N6u/2N2HnsTorS54RIK9Sfw6y0y82NfMcpmAQ0 xbivbnrpR0Er5M4vP3m0X3D/WecPwq6V7yogkhm2LhY6cZochUQ8ucHK4AKmin+idr3F Iafg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b82CPx+f; 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 sb7si1878178ejb.321.2019.10.09.13.43.02; Wed, 09 Oct 2019 13:43:02 -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=b82CPx+f; 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 S1732362AbfJIUnB (ORCPT + 26 others); Wed, 9 Oct 2019 16:43:01 -0400 Received: from mail-lj1-f180.google.com ([209.85.208.180]:34767 "EHLO mail-lj1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731884AbfJIUlo (ORCPT ); Wed, 9 Oct 2019 16:41:44 -0400 Received: by mail-lj1-f180.google.com with SMTP id j19so3921592lja.1 for ; Wed, 09 Oct 2019 13:41: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=y12OqUDXt0uUd8S/w/N9B4j5fJB9b6dEGe48WxLpJQ0=; b=b82CPx+fPly56w9MPycjqjk9NJFrcqTUC+lMTY5z15BMRw4pELbH/XPZ+RJefWuxPY Ve+lIxc6pQd+2yDHo9zcMjT2RLJUqoXNChE9oUJ1xBcEkkjBJsESNa9GWmIK6Li9Rbkw 2gsZITjElYlpNfxDj0t7SIHmbzIKhfrXgQQ0eutD4pIHkl55qf+nSBf/bZYmQNvZSkgO bLliGWmkU+bpjvxPedusjcxCZqk6Z8tNN3fiXpA9lu1SC9hixLlHu7am+/BzaOY0OlQc nx3uyOZj9pepIabNtCEHnzksYGri285CEa6jAL/ZaogaUkfB9TcjD1KrdFRk5hVdInNL Q7yg== 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=Qb6DyYxqfqK14IPhvXt19tahb9ijPNOd1QNnA8Gi8NZ73wwpHDUHl7pGoAqnJjZ9zc JfXKQyIJMJ7Zzdgiz2C3CMwwNHqQ00etJSRmyyMayaGtQ6nWcJmTX4XIzOK9DqsNrv5h LF0Vu/WA35XTClyYHHoB0jwuV75JGHtYc7yaTzb1W5SgiPRhe2b21c7nsNXRSlyVmqm/ f588BbuYvGbnQojNyJ/Vea3BwyH8g9f6W/S6P47F+mvCucMUNNL9nBQWQ+kX4+jgYUL8 HPBk/XQXljRSlDlt3uYqVUCgk9gemoxxVqyFSaf3XX6Eq8H9Pu890tu3aZCxS7J7+M7T pEXw== X-Gm-Message-State: APjAAAXeiDDAt30Kkhbo0Bk+x2dAtrp73cBnLcEuRrc/wIPIid6Di5Hj 0FrqNECI9LFToOi2k6eA3OYYYg== X-Received: by 2002:a2e:7e05:: with SMTP id z5mr3623227ljc.120.1570653702474; Wed, 09 Oct 2019 13:41: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 h3sm730871ljf.12.2019.10.09.13.41.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 13:41:41 -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 02/15] samples/bpf: fix cookie_uid_helper_example obj build Date: Wed, 9 Oct 2019 23:41:21 +0300 Message-Id: <20191009204134.26960-3-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 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