Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline

2019-10-03 Thread Daniel Borkmann
On Wed, Oct 02, 2019 at 09:16:52PM +0200, 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: F

Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline

2019-10-02 Thread Andrii Nakryiko
On Wed, Oct 2, 2019 at 2:05 PM Song Liu wrote: > > > > > On Oct 2, 2019, at 1:22 PM, Andrii Nakryiko > > wrote: > > > > 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 defini

Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline

2019-10-02 Thread Song Liu
> On Oct 2, 2019, at 1:22 PM, Andrii Nakryiko wrote: > > 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 __i

Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline

2019-10-02 Thread Song Liu
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 Reve

Re: [PATCH v2] samples/bpf: Add a workaround for asm_inline

2019-10-02 Thread Andrii Nakryiko
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 Reve