Re: [Qemu-devel] [PATCH] e1000e: Fix build with gcc 4.6.3 and ust tracing

2016-06-06 Thread Peter Maydell
On 6 June 2016 at 02:18, Jason Wang wrote: > > > On 2016年06月04日 15:02, Dmitry Fleytman wrote: >> >> This patch fixes used-uninitialized false >> positive while compiling with ust tracing >> backend plus gcc 4.6.3: >> >> hw/net/e1000e.c: In function ‘e1000e_io_write’: >>

Re: [Qemu-devel] [PATCH] e1000e: Fix build with gcc 4.6.3 and ust tracing

2016-06-05 Thread Jason Wang
On 2016年06月04日 15:02, Dmitry Fleytman wrote: This patch fixes used-uninitialized false positive while compiling with ust tracing backend plus gcc 4.6.3: hw/net/e1000e.c: In function ‘e1000e_io_write’: hw/net/e1000e.c:170:39: error: ‘idx’ may be used uninitialized in this function

[Qemu-devel] [PATCH] e1000e: Fix build with gcc 4.6.3 and ust tracing

2016-06-04 Thread Dmitry Fleytman
This patch fixes used-uninitialized false positive while compiling with ust tracing backend plus gcc 4.6.3: hw/net/e1000e.c: In function ‘e1000e_io_write’: hw/net/e1000e.c:170:39: error: ‘idx’ may be used uninitialized in this function [-Werror=uninitialized] hw/net/e1000e.c: In function