diff options
author | Yunlong Song <[email protected]> | 2015-02-27 19:53:46 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-02-27 10:43:18 -0300 |
commit | 1f924c29b5ab2257be88a2a4075d0800573d8479 (patch) | |
tree | 4dfbd3f1140edb5ec759043f0d0f2bb0c4fac63a /net/lapb/lapb_iface.c | |
parent | f56847c2e99810781f6941d01baff9ae223eeac3 (diff) |
perf data: Fix sentinel setting for data_cmds array
The recent new patch "perf tools: Add new 'perf data' command" (commit
2245bf14 in acme's git repo perf/core) has caused a building error when
compiling the source code of perf:
cc1: warnings being treated as errors
builtin-data.c:89: error: missing initializer
builtin-data.c:89: error: (near initialization for ‘data_cmds[1].summary’)
make[2]: *** [builtin-data.o] Error 1
make[2]: *** Waiting for unfinished jobs....
LD bench/perf-in.o
LD tests/perf-in.o
make[1]: *** [perf-in.o] Error 2
make: *** [all] Error 2
This patch fixes the building error above.
Signed-off-by: Yunlong Song <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ .name == NULL ends the loop, use it instead of seting all fields to NULL ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions