diff options
| author | Sanskriti Sharma <[email protected]> | 2018-10-02 14:29:10 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-10-08 17:23:44 +0000 |
| commit | ce49d8436cffa9b7a6a5f110879d53e89dbc6746 (patch) | |
| tree | fe7baef3fda23d62917335853219e7b5dfef9056 /arch/x86/platform/atom/punit_atom_debug.c | |
| parent | perf test: S390 does not support watchpoints in test 22 (diff) | |
| download | kernel-ce49d8436cffa9b7a6a5f110879d53e89dbc6746.tar.gz kernel-ce49d8436cffa9b7a6a5f110879d53e89dbc6746.zip | |
perf strbuf: Match va_{add,copy} with va_end
Ensure that all code paths in strbuf_addv() call va_end() on the
ap_saved copy that was made.
Fixes the following coverity complaint:
Error: VARARGS (CWE-237): [#def683]
tools/perf/util/strbuf.c:106: missing_va_end: va_end was not called
for "ap_saved".
Signed-off-by: Sanskriti Sharma <[email protected]>
Reviewed-by: Jiri Olsa <[email protected]>
Cc: Joe Lawrence <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'arch/x86/platform/atom/punit_atom_debug.c')
0 files changed, 0 insertions, 0 deletions
