Re: [PATCH] bpf:sample: fix field 'lock' has incomplete type in hbm.h

From: Bo YU
Date: Thu Apr 04 2019 - 08:24:28 EST


On Thu, Apr 4, 2019 at 4:30 PM Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
>
>
>
> On 04/04/2019 01:16 AM, Bo YU wrote:
> > When compiling sample/bpf:
> >
> > samples/bpf/hbm.h:12:23: error: field âlockâ has incomplete type
> > struct bpf_spin_lock lock;
> >
> > Fixes: 187d0738ff35(bpf: Sample HBM BPF program to limit egress bw)
> > Signed-off-by: Bo YU <tsu.yubo@xxxxxxxxx>
> > ---
>
> This patch makes absolutely no sense.
>
> Please carefully read samples/bpf/README.rst
Ok, got it.
Thanks,
>
>