[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] de5dca: e1000e: Fix build with gcc 4.6.3 and
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] de5dca: e1000e: Fix build with gcc 4.6.3 and ust tracing |
Date: |
Mon, 06 Jun 2016 02:30:06 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: de5dca1b792ada25c29a95c8f84e01f4300aef9c
https://github.com/qemu/qemu/commit/de5dca1b792ada25c29a95c8f84e01f4300aef9c
Author: Dmitry Fleytman <address@hidden>
Date: 2016-06-06 (Mon, 06 Jun 2016)
Changed paths:
M hw/net/e1000e.c
Log Message:
-----------
e1000e: Fix build with gcc 4.6.3 and ust tracing
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 ‘e1000e_io_read’:
hw/net/e1000e.c:145:35: error: ‘idx’ may be used uninitialized in this function
[-Werror=uninitialized]
cc1: all warnings being treated as errors
make: *** [hw/net/e1000e.o] Error 1
Signed-off-by: Dmitry Fleytman <address@hidden>
Acked-by: Jason Wang <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] de5dca: e1000e: Fix build with gcc 4.6.3 and ust tracing,
GitHub <=