From 33f3f10b72b3ddde230c784a16f64a8fe1c5c903 Mon Sep 17 00:00:00 2001 From: "jinhyung.jo" Date: Tue, 21 Oct 2014 13:27:16 +0900 Subject: [PATCH] VIGS & YaGL: Fixed the incorrect condition Fix a wrong variable name, dobj -> wqobj. Change-Id: I7dbd5e110e747343aeefb29c23ab4d28d35c873b Signed-off-by: Jinhyung Jo --- hw/vigs/vigs_device.c | 2 +- hw/yagl/yagl_device.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/vigs/vigs_device.c b/hw/vigs/vigs_device.c index 464bd10479..c3185da198 100644 --- a/hw/vigs/vigs_device.c +++ b/hw/vigs/vigs_device.c @@ -336,7 +336,7 @@ static int vigs_device_init(PCIDevice *dev) return -1; } - if (!dobj) { + if (!wqobj) { error_report("unable to create work queue"); return -1; } diff --git a/hw/yagl/yagl_device.c b/hw/yagl/yagl_device.c index 8a8b07f966..de24498883 100644 --- a/hw/yagl/yagl_device.c +++ b/hw/yagl/yagl_device.c @@ -267,7 +267,7 @@ static int yagl_device_init(PCIDevice *dev) return -1; } - if (!dobj) { + if (!wqobj) { error_report("unable to create work queue"); return -1; } -- 2.34.1