Re: [PATCH net] perf/bpf: fix a clang compilation issue

2017-09-13 Thread Nick Desaulniers
great, thanks! On Mon, Sep 11, 2017 at 2:28 PM, David Miller wrote: > From: Yonghong Song > Date: Thu, 7 Sep 2017 18:36:15 -0700 > >> clang does not support variable length array for structure member. >> It has the following error during compilation: >> >> kernel/trace/trace_syscalls.c:568:17: e

Re: [PATCH net] perf/bpf: fix a clang compilation issue

2017-09-11 Thread David Miller
From: Yonghong Song Date: Thu, 7 Sep 2017 18:36:15 -0700 > clang does not support variable length array for structure member. > It has the following error during compilation: > > kernel/trace/trace_syscalls.c:568:17: error: fields must have a constant size: > 'variable length array in structure'

[PATCH net] perf/bpf: fix a clang compilation issue

2017-09-07 Thread Yonghong Song
clang does not support variable length array for structure member. It has the following error during compilation: kernel/trace/trace_syscalls.c:568:17: error: fields must have a constant size: 'variable length array in structure' extension will never be supported unsigned long args