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-09-08 18:26:48 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 12:24:50 -07:00
2017-09-07 13:55:16 -07:00
2017-09-07 11:59:42 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:48 -07:00
2017-09-07 11:59:42 -07:00
2017-09-08 21:11:00 -07:00
2017-09-07 21:11:05 -07:00
2017-09-07 11:59:42 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:50 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:45 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:45 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:47 -07:00
2017-09-09 12:49:01 -07:00
2017-09-07 13:24:11 -05:00
2017-09-08 15:47:43 -07:00
2017-09-07 13:24:20 -05:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:48 -07:00
2017-09-08 18:26:48 -07:00
2017-09-07 21:11:05 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-08 18:26:49 -07:00
2017-09-07 20:02:39 -07:00
2017-09-09 12:49:01 -07:00
2017-09-08 18:26:46 -07:00
2017-09-08 18:26:46 -07:00
2017-09-11 14:28:45 -07:00
2017-09-08 15:08:14 -07:00
2017-09-08 18:26:51 -07:00
2017-09-08 18:26:47 -07:00
2017-09-08 18:26:48 -07:00