summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-04-17 20:35:49 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-04-19 21:12:49 +0200
commit186bab1ce04f99153b7eeb3348438b654c24c24b (patch)
tree824b57e459b848e0aef94ef98ecf79c4b5c93381 /drivers/xen
parentxen/xenbus: Add quirk to deal with misconfigured backends. (diff)
downloadlinux-186bab1ce04f99153b7eeb3348438b654c24c24b.tar.xz
linux-186bab1ce04f99153b7eeb3348438b654c24c24b.zip
xen/resume: Fix compile warnings.
linux/drivers/xen/manage.c: In function 'do_suspend': linux/drivers/xen/manage.c:160:5: warning: 'si.cancelled' may be used uninitialized in this function Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/manage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
index 9e14ae6cd49c..412b96cc5305 100644
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -132,6 +132,7 @@ static void do_suspend(void)
err = dpm_suspend_end(PMSG_FREEZE);
if (err) {
printk(KERN_ERR "dpm_suspend_end failed: %d\n", err);
+ si.cancelled = 0;
goto out_resume;
}