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