Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1352722ybn; Wed, 2 Oct 2019 14:54:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxviWNp81O7m9swavHTv+WQY3S+V732/fhSu/tRYcZ2emVhbKLDiknuPywVpmHGBVxsqQpG X-Received: by 2002:a17:906:6d53:: with SMTP id a19mr5031349ejt.144.1570053293456; Wed, 02 Oct 2019 14:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570053293; cv=none; d=google.com; s=arc-20160816; b=uvSB05FSY8IbD5xaNzyLIlhFFnlfmog+qnQHiuWKwksOTJribWxIUbZUVM35WU1/rD D/x2us3j04c4T/yZILvFX6vmlpdEqD8NyQJwEQJKPrtfHMnmMlD9TVwFkv2oLMNmRyaC XDech+HROnm7d5rFdvG09jE4ZG5gzDsem05jCFjjE7kSH7wsdZd8R1duNsyLpTGz6g4u YdBumH4T1YIvBP9+/8JCklGlDBSXrcGx/LeNtaHUIxT63OsoBaJLOxx9uSC9ic+JMubh s/7J0zuSOd7ZknGxEM5fNArMJycqfEUtpxM2OKn1rzq65p0gI5mxnXYbhrmPJmxBa2kE m02Q== 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=dV7G2LykqgYT5rhZ0q2+Dl9UTjM6dUdhYsDLKx2iJ7w=; b=xR26TPjZ3U+fKtLTVd9ox4Q6frhI4IUMFVJtm2Y03vlTo8zIGYTeo+80Jzol9Xc6/F xKZRQqalvePxCIhuiNZbGLtvGfdPXNZupudZKT54AC0nf+VyS3FzhHjWsV1+W7/HEE8d FR0ZoR/67aCrtkJ/OgsOn1vRCe4TI83KP06V26xB4cWOYloD5T5rGeY5Xwp+FfYvs2Wy Zb+6Nc/r6uQsUsB2Ad6eiP7ThmD2leX6kOb00Kovs00+RldujzF6BNXrKxyWj+iG4FEq yMyIYGhtkhs4oIr1aCmw7UkbB9ehxOJ6KQKlPhJR/uXiju1HzYAGNccw8iOm2I2392Vf UEEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=njfHQ0Pj; 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 y23si260600edb.208.2019.10.02.14.54.29; Wed, 02 Oct 2019 14:54:53 -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=njfHQ0Pj; 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 S1728396AbfJBUwv (ORCPT + 99 others); Wed, 2 Oct 2019 16:52:51 -0400 Received: from mail-qt1-f194.google.com ([209.85.160.194]:44709 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725975AbfJBUwv (ORCPT ); Wed, 2 Oct 2019 16:52:51 -0400 Received: by mail-qt1-f194.google.com with SMTP id u40so492118qth.11; Wed, 02 Oct 2019 13:52:50 -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=dV7G2LykqgYT5rhZ0q2+Dl9UTjM6dUdhYsDLKx2iJ7w=; b=njfHQ0Pj2mArKtJe69H3lcP4vF+5C3hV7R/QQb/tDNWLFG4JppbZXB9w28vCynRyls puQkBWu6UMUwfybBipZJ1Rw6SvHSvcb2VqlMJMU6VSXcQXNbxMlNqKMjCrMhc5TjoKeA OztSzIUKI7xszZ9TFFrvCWpbbQnczKoIbHnhEMFujmzBUG6t4/YELDphmB8XHiPDehbr 81j0yeNkAIrESvDDQFGvzEikxZ+JIikblhtppodDgRvoET0W/2Wp+Qb7H+eO8XNGMcJs 2E5Fb8NrvgMiCaslFyWB3mLssZMGI1iRc1bxuuNwQ4XD31OD4JIetOzRh6UfoOHz8D+l rCzw== 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=dV7G2LykqgYT5rhZ0q2+Dl9UTjM6dUdhYsDLKx2iJ7w=; b=n8x0UX8ne4Ilhk2ayRlpNvv0tEkxbmRZNHFZP91fJq7i3Wa81A/SeJcTtDM7RMVHcv KhGHLYb9DU2zSsLMqF2wgr9O75xkpIydIWYkFdm1Fwf1DaiHTnwPKQewY6GGI0t01/51 Nonxi3o4sZSFpZ2e98CF6RJvCRTmJcrk9XngkDgAx/WTBIs3gzA94k0iuwxwkis7fTPd EDHJq7IhAIJQ+u/raHO1tiHPVHl8ANojtlz1E4aNavRVvSS+ioBVjxlK1VPgouq34FkW JbNovBmMonY3jPUy80o2zWn25NZ17g0TCH3rVveE+bkeyvVQRNknYCm/Y7k3yMdqDgi2 qIyg== X-Gm-Message-State: APjAAAU5lGez2to8EvJAa8QL43iqDXR6WF71D+ARIdoWc1RsufA6JNZH 51RYVj6Gnb8o4pxRJScr+Jn7hJ+pk37XuU1EY7c= X-Received: by 2002:ac8:37cb:: with SMTP id e11mr6510756qtc.22.1570049569865; Wed, 02 Oct 2019 13:52:49 -0700 (PDT) MIME-Version: 1.0 References: <20191002191652.11432-1-kpsingh@chromium.org> In-Reply-To: <20191002191652.11432-1-kpsingh@chromium.org> From: Song Liu Date: Wed, 2 Oct 2019 13:52:38 -0700 Message-ID: Subject: Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline To: KP Singh Cc: open list , bpf , Florent Revest , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Florent Revest , Rasmus Villemoes , Arnaldo Carvalho de Melo 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 Wed, Oct 2, 2019 at 12:17 PM KP Singh wrote: > > From: KP Singh > > This was added in: > > commit eb111869301e ("compiler-types.h: add asm_inline definition") > > and breaks samples/bpf as clang does not support asm __inline. > > Co-developed-by: Florent Revest > Signed-off-by: Florent Revest > Signed-off-by: KP Singh Acked-by: Song Liu