Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1153167yba; Thu, 4 Apr 2019 05:25:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqytWHLHkxmkwFSGhRw1nIFUOfHljIXASO7CAmTAEmvNjD6c+QlF8n1oc0Lcpgi70IShZDN3 X-Received: by 2002:a17:902:e508:: with SMTP id ck8mr6018398plb.96.1554380736459; Thu, 04 Apr 2019 05:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554380736; cv=none; d=google.com; s=arc-20160816; b=y41Zdz8GPxEvX2rtPAAFIuCrtHpq9bJAobBpd07HtiMPtcIumoKDK8d9n+8akcpv6U pSWD2/RwrEOpriNmkfzJxmPw/ctSRUXkd2pAq01QRSkGmpP0oOEzYYckh6kyOEEoyi01 3SVb+BjFO0Or72POB0goNbd4waqJYatmD0R1JXPEK7QlAB3tyKWOs2VZrbI27tX+uuAv ZdxlFOpPgr3AxUDA4ik84cWy1Jcvp/YNSjrs9QZuxR80pLDLOg7JXqwShNd5dpIsHK3q LFPvYe4D5iwjcMheOoQfovmn13/nzDB0vTdFj2lCr/oDP69/CYfKtyYF0f6bB96XkPCU 1FyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=s3qpVVmxyOtu+1LyTKJENQDRUtah03qnRLReICoWpfQ=; b=09ItGR1snehRB9vLdYdvYCJ10Gb5b39fgNfcfv+fAozL0UR6iL1X1OqiwOaW6Ixz8b 9bWS9Kwno5jZiQg29Aa0tuvZ5p/G253JhUXmtU0aFKp/lRutcUOAWCwUTS5CeaFeKtuC rb57SCnHZzs4uxdByVwWkYSt6gTbZcI8Y5qets3twr7nkxrJDBdZhZpHUPFwQExgx8vY VLwfxhsTgG/3WF6CI0fdpKLCkk9EXZlC7PO+UG4+zO48I5Mbto7ejvVvEQ9REIr2Mjzv gwvSEeWV40yhunm5UbZ7QppBw+60Qk/OZpLNDMYVK2qzX9apI8AaSwdhalv4Y283R8Fc ju5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iwJ0FvOa; 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 j22si2405174pfi.167.2019.04.04.05.25.21; Thu, 04 Apr 2019 05:25:36 -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=iwJ0FvOa; 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 S1729817AbfDDMY1 (ORCPT + 99 others); Thu, 4 Apr 2019 08:24:27 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:42233 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727562AbfDDMYZ (ORCPT ); Thu, 4 Apr 2019 08:24:25 -0400 Received: by mail-yb1-f193.google.com with SMTP id x84so903937ybg.9; Thu, 04 Apr 2019 05:24:24 -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:content-transfer-encoding; bh=s3qpVVmxyOtu+1LyTKJENQDRUtah03qnRLReICoWpfQ=; b=iwJ0FvOau3sebooPyMR1N0zFk8DyjSwl07Pmxc7tFDOK55SV6DHo0rVvw9oyGU9tvn UldxEh3pekjqPCn9VK+2pZ5RaS+4uaDwzFDge9JQjC6E/D/wsZVt04mvcGYy3tX6x601 LDfKzMqL8WRl/1sZVRZIbaAFsTstfxTsm6au3x+0NV5gAJN16V5hzNtrzfDtGiGiwrpY qSAmho7NXbqi8f6VBjgImWlILbAeAsHitmAVdFqUvgInnLyLxaN+z7aCZlc2QE/t14ZK 4dMQmPzsEg8DvcHJRaJZlf3TVavi9qf6peVHo5TWdQmK9lDH81cFs2/3qZiTwK5F1vhf 6DAQ== 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:content-transfer-encoding; bh=s3qpVVmxyOtu+1LyTKJENQDRUtah03qnRLReICoWpfQ=; b=jRGsIIcAH4jdFVNEwL7mUGLULMrHPpaZ4IjuBvpnocNFY3zNn4XghhtqIL/btfQdSQ YM6IRnfYhdzhjTUCnCmY5Y9/6AJXDSHtxe75ttzBGnQ46akk7NLZicbVzK5KsAYk753t DnwtR1O6dA/KZbcaUma/ucSlfrQFZG8AHLF96jOugDDuPCMVNSwpDpQn5ECpd3fjwghR Cngx7YbspgUnYc2NrQf5oQIvB8ROmOm8O8n+x1xlPEdTcxbSjqeT7LtAFOSeoPO1byFz NNo8wcAFGG1toFGI0j8Q9aNl7xbZf3JKKVkiHnO5EM7gfiqmsr0Iij8p1TE7e8L0FHin 4AbA== X-Gm-Message-State: APjAAAVWe2SKK1LSHQsa02iL3ig8DY17daxKRY7Yb+AJG2hIVxKbHtKG rkvb4CfJm8lw/Jzv75PYdG/rm7uWlh+yc749t/E= X-Received: by 2002:a25:7492:: with SMTP id p140mr5159188ybc.394.1554380663980; Thu, 04 Apr 2019 05:24:23 -0700 (PDT) MIME-Version: 1.0 References: <20190404081620.zx5rt2j2rjvdcglt@yubo-2> In-Reply-To: From: Bo YU Date: Thu, 4 Apr 2019 20:24:13 +0800 Message-ID: Subject: Re: [PATCH] bpf:sample: fix field 'lock' has incomplete type in hbm.h To: Eric Dumazet Cc: Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , songliubraving@fb.com, Netdev , Yonghong Song , open list , bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 4, 2019 at 4:30 PM Eric Dumazet wrote: > > > > On 04/04/2019 01:16 AM, Bo YU wrote: > > When compiling sample/bpf: > > > > samples/bpf/hbm.h:12:23: error: field =E2=80=98lock=E2=80=99 has incomp= lete type > > struct bpf_spin_lock lock; > > > > Fixes: 187d0738ff35(bpf: Sample HBM BPF program to limit egress bw) > > Signed-off-by: Bo YU > > --- > > This patch makes absolutely no sense. > > Please carefully read samples/bpf/README.rst Ok, got it. Thanks, > >