Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1411941ybp; Wed, 9 Oct 2019 13:46:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyxFHOb9bfScchVrmd4NLng4tXLpK9c3DBJ1Ca4nr3DpWD58noMgPXCsRzSOdHPXIekBu43 X-Received: by 2002:a17:907:429c:: with SMTP id ny20mr4611515ejb.234.1570653975055; Wed, 09 Oct 2019 13:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570653975; cv=none; d=google.com; s=arc-20160816; b=lJK8OyKm8MN6f9ttk+wDVZKY1rzXxbzpPaShl4Qu3w1Hmc7NCtDwVH41c6lylDnVAN 5Sl2KmDFR+rX8Qkwj9BBHdw14rObw7O2is3zxbpFvr4Bjg1nWSBYA6UhEitrXfs30IQM tVm7SnQ49arc8zjR9BzgHGRk/01L1Q4wJGFyEOWyHY8Z7blMgntQXaiKfj0K+1/4+4J3 PEuHaj2h4oEHrt0I9k6O0bTIY+1bhq5gq9bb+/qpQyHQWK4NOpQ19eLUDzC9A8gVAq9L tr2pPJ0qs64x8sTeHrp3mTJqBe7vOVd1dFQ6ussw7S8wAlvLjXg7NlwxlOGu+APadevU iRLQ== 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=2DEOdiE8/KIZvnfCC36ibwWDO7fSHTP8+q9sblSZNeo=; b=wvS4LiTN9EPxjVlb+RgGkXs15Hh+tMxUKYRtu+Eqnex1XWweB9Cl2bnEEOWIcPvM7H ldnUsAEmUNME9RYYBGmyUBUuhkMwhpRQQ4ySluNJFieGBPOirpE+cEvJ6x9+CjoaDA43 v1At22aNAxbSdKZ7GYnK7pRjc8bwWf/u5/9xTikIVOaUb3qaXBsCdLVh1fzROPX0oLuG 6CvX+FK1JPkX9qjbdfAy+aGDIdBxhUJy7X+D8dTOvFByaKg7qAMuNOka4XvkblMNMnEz igExzeiAz9sjMgzg80dN3cEUmgcIWy13AdvuUN7ZbTZ0ily7ehGO+m889KO/AxT/UfK4 Nnig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wpG/4/be"; 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 g19si1745524ejw.373.2019.10.09.13.45.51; Wed, 09 Oct 2019 13:46:15 -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="wpG/4/be"; 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 S1731936AbfJIUln (ORCPT + 99 others); Wed, 9 Oct 2019 16:41:43 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:40758 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731763AbfJIUln (ORCPT ); Wed, 9 Oct 2019 16:41:43 -0400 Received: by mail-lj1-f196.google.com with SMTP id 7so3868291ljw.7 for ; Wed, 09 Oct 2019 13:41:41 -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=2DEOdiE8/KIZvnfCC36ibwWDO7fSHTP8+q9sblSZNeo=; b=wpG/4/be0Dkrcg2e3d2Y6P+Upb+QU97CDfnDDCAn0RZufZUtdAx4AGsbcIMxg82aDO hw0WOfvamsi/rNt1zNO5fb14dk0jx3eyiTZFvuTkb0d9KpIqNcCWRxb46uHn5Qil4BlD q6vA7R/HM5QpM2awInIHF3ZgnYuF8dILcbK676IpP36a7RSZLIpipstVdglbWxnYbUD/ /JNFNNkTlXTtk9xHGsIqLXwztiHgyArDwz2jGOpFIVC8hw+R8sN7gXdyvC8M9qowpQ6A 9Z2k0uxxen5TorR1/0SCZlZ2ku4Exm6NIObX4s/A/Zaq3jcK8MtfnX3qBOM/6QSXGZ4O nmEQ== 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=2DEOdiE8/KIZvnfCC36ibwWDO7fSHTP8+q9sblSZNeo=; b=LYhyNU1+YenQQDQC4wh99RWjNOTqtMGGLOFLokK5PxAwJfTncYtnoImVRPCBmcOrUY G0BGgVu7gevd8fvx0glq9/R5Sw8ql/pXlktoDrO6DXpupsldwJfj7LITfn52KFKkj4oy stdXOI3Lts725MOCaCehgI6OA0EvyZLvjpkn78srQ3UEikFVyvkepIHkuaIhNctR4E1Q UcwVcUZil/r1zbApUdq93tVElsPezmiZwrBCTeyBptuFQNJZwFXesiOsEatjWa6IKZpv bGKontH/EQ7HQLjmin5fnm8ZF4eoZmxxSTnAejld5ysHt/8vdtzkv7/KtpEuxzoJPlo7 oSlw== X-Gm-Message-State: APjAAAVHt+nPqPrRESMgiSuPAv/FNJDZu/zBTS49XSeTnr/z6xiLySzB G23gHA9K8lnP4ONhMeu4xmPgUg== X-Received: by 2002:a2e:286:: with SMTP id y6mr3679786lje.184.1570653701016; Wed, 09 Oct 2019 13:41:41 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 13:41:40 -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 01/15] samples/bpf: fix HDR_PROBE "echo" Date: Wed, 9 Oct 2019 23:41:20 +0300 Message-Id: <20191009204134.26960-2-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 echo should be replaced with echo -e to handle '\n' correctly, but instead, replace it with printf as some systems can't handle echo -e. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index a11d7270583d..4f61725b1d86 100644 --- a/samples/bpf/Makefile +++ b/samples/bpf/Makefile @@ -201,7 +201,7 @@ endif # Don't evaluate probes and warnings if we need to run make recursively ifneq ($(src),) -HDR_PROBE := $(shell echo "\#include \n struct list_head { int a; }; int main() { return 0; }" | \ +HDR_PROBE := $(shell printf "\#include \n struct list_head { int a; }; int main() { return 0; }" | \ $(HOSTCC) $(KBUILD_HOSTCFLAGS) -x c - -o /dev/null 2>/dev/null && \ echo okay) -- 2.17.1