projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc65820
)
libxl: init_acpi_config should return rc in exit path
author
Wei Liu
<wei.liu2@citrix.com>
Wed, 14 Dec 2016 11:44:36 +0000
(11:44 +0000)
committer
Wei Liu
<wei.liu2@citrix.com>
Fri, 16 Dec 2016 11:10:02 +0000
(11:10 +0000)
... otherwise it returns 0 even if the function fails.
Coverity-ID:
1397121
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_x86_acpi.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_x86_acpi.c
b/tools/libxl/libxl_x86_acpi.c
index 686ac8e106d131db45133f999a147d3fbd8488d2..6cf0c304d54d6ab0408cee848983f99a915da113 100644
(file)
--- a/
tools/libxl/libxl_x86_acpi.c
+++ b/
tools/libxl/libxl_x86_acpi.c
@@
-154,7
+154,7
@@
static int init_acpi_config(libxl__gc *gc,
config->acpi_revision = 5;
out:
- return
0
;
+ return
rc
;
}
int libxl__dom_load_acpi(libxl__gc *gc,