Yonghong Song 609320c8a2 perf/bpf: fix a clang compilation issue
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[sys_data->nb_args];
                              ^

The fix is to use a fixed array length instead.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-11 14:28:45 -07:00
..
2017-05-12 15:57:15 -07:00
2017-09-08 18:26:48 -07:00
2017-05-23 10:01:37 +02:00
2017-08-16 16:48:34 -07:00
2017-09-05 09:46:59 -04:00
2017-06-12 18:07:43 -04:00
2017-09-05 09:46:59 -04:00
2017-05-18 10:30:19 -06:00
2017-09-08 18:26:51 -07:00
2017-07-12 17:22:01 -07:00
2017-08-21 12:47:31 -07:00
2017-09-08 18:26:48 -07:00
2017-07-12 09:15:00 -07:00