Re: [PATCH] libperf tests: Avoid uninitialized variable warning.

2021-01-15 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 14, 2021 at 01:23:04PM -0800, Ian Rogers escreveu: > The variable bf is read (for a write call) without being initialized > triggering a memory sanitizer warning. Use bf in the read and switch the > write to reading from a string. > > Signed-off-by: Ian Rogers Thanks, applied. - Arn

Re: [PATCH] libperf tests: Avoid uninitialized variable warning.

2021-01-15 Thread Jiri Olsa
On Thu, Jan 14, 2021 at 01:23:04PM -0800, Ian Rogers wrote: > The variable bf is read (for a write call) without being initialized > triggering a memory sanitizer warning. Use bf in the read and switch the > write to reading from a string. > > Signed-off-by: Ian Rogers Acked-by: Jiri Olsa than

Re: [PATCH] libperf tests: Avoid uninitialized variable warning.

2021-01-14 Thread Namhyung Kim
Hi Ian, On Fri, Jan 15, 2021 at 6:23 AM Ian Rogers wrote: > > The variable bf is read (for a write call) without being initialized > triggering a memory sanitizer warning. Use bf in the read and switch the > write to reading from a string. > > Signed-off-by: Ian Rogers Acked-by: Namhyung Kim

[PATCH] libperf tests: Avoid uninitialized variable warning.

2021-01-14 Thread Ian Rogers
The variable bf is read (for a write call) without being initialized triggering a memory sanitizer warning. Use bf in the read and switch the write to reading from a string. Signed-off-by: Ian Rogers --- tools/lib/perf/tests/test-evlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)