../blockdev.c:608
#10 drive_new (all_opts=0x56d2b700, block_default_type=IF_IDE,
errp=0x56c98c40 ) at ../blockdev.c:992
..
Signed-off-by: Daniella Lee
---
block/vvfat.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/block/vvfat.c b/block/vvfat.c
index 05e78e
Signed-off-by: Daniella Lee
---
block/vvfat.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index 05e78e3c27..5dacc6cfac 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -1279,8 +1279,18 @@ static int vvfat_open(BlockDriverState
in the condition is the return value of epoll_ctl function,
and will return -1 when failed.
Therefore, the patch added a check and initialized the variable "r".
Signed-off-by: Daniella Lee
---
util/fdmon-epoll.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --g