On Tue, Dec 24, 2019 at 09:02:03AM +0900, Nobuhiro Iwamatsu wrote: > From: Mattias Jacobsson <2pi@xxxxxx> > > commit 099be748865eece21362aee416c350c0b1ae34df upstream. > > Each call to va_copy() should have one, and only one, corresponding call > to va_end(). In strbuf_addv() some code paths result in va_end() getting > called multiple times. Remove the superfluous va_end(). > > Signed-off-by: Mattias Jacobsson <2pi@xxxxxx> > Cc: Jiri Olsa <jolsa@xxxxxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Sanskriti Sharma <sansharm@xxxxxxxxxx> > Link: http://lkml.kernel.org/r/20181229141750.16945-1-2pi@xxxxxx > Fixes: ce49d8436cff ("perf strbuf: Match va_{add,copy} with va_end") > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> > Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@xxxxxxxxxxxxx> > --- > tools/perf/util/strbuf.c | 1 - > 1 file changed, 1 deletion(-) Now queued up, thanks. greg k-h