On Mon, Sep 23, 2013 at 05:07:30PM +0100, alex.ben...@linaro.org wrote: > From: Alex Bennée <a...@bennee.com> > > This only showed up when compiling with > --enable-trace-backend=stderr|ftrace at which point the compiler > complains with the following: > > block/stream.c: In function ‘stream_run’: > block/stream.c:141:22: error: ‘copy’ may be used uninitialized in this > function [-Werror=uninitialized] > > Not sure exactly why it needs these options but it does seem clear the > negative return case should be handled. > --- > block/stream.c | 2 ++ > 1 file changed, 2 insertions(+)
Stefan Weil already posted a similar patch: http://patchwork.ozlabs.org/patch/276936/