Re: [PATCH 3/3] Fix sched-messaging.c use of uninitialized value errors

2019-07-26 Thread Ian Rogers
On Fri, Jul 26, 2019 at 12:32 PM Arnaldo Carvalho de Melo wrote: > > Em Wed, Jul 24, 2019 at 04:45:00PM -0700, Numfor Mbiziwo-Tiapo escreveu: > > Our local MSAN (Memory Sanitizer) build of perf throws use of > > uninitialized value warnings in "tools/perf/bench/sched-messaging.c" > > when running

Re: [PATCH 3/3] Fix sched-messaging.c use of uninitialized value errors

2019-07-26 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 24, 2019 at 04:45:00PM -0700, Numfor Mbiziwo-Tiapo escreveu: > Our local MSAN (Memory Sanitizer) build of perf throws use of > uninitialized value warnings in "tools/perf/bench/sched-messaging.c" > when running perf bench. > > The first warning comes from the "ready" function where the

[PATCH 3/3] Fix sched-messaging.c use of uninitialized value errors

2019-07-24 Thread Numfor Mbiziwo-Tiapo
Our local MSAN (Memory Sanitizer) build of perf throws use of uninitialized value warnings in "tools/perf/bench/sched-messaging.c" when running perf bench. The first warning comes from the "ready" function where the "dummy" char is declared and then passed into "write" without being initialized. I