summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-04-17 14:35:49 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2012-04-19 15:12:49 -0400
commit186bab1ce04f99153b7eeb3348438b654c24c24b (patch)
tree824b57e459b848e0aef94ef98ecf79c4b5c93381 /drivers/xen
parent3066616ce23aad5719c23a0f21f32676402cb44b (diff)
downloadlinux-stable-186bab1ce04f99153b7eeb3348438b654c24c24b.tar.gz
linux-stable-186bab1ce04f99153b7eeb3348438b654c24c24b.tar.bz2
linux-stable-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;
}