diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-17 14:35:49 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-04-19 15:12:49 -0400 |
commit | 186bab1ce04f99153b7eeb3348438b654c24c24b (patch) | |
tree | 824b57e459b848e0aef94ef98ecf79c4b5c93381 | |
parent | 3066616ce23aad5719c23a0f21f32676402cb44b (diff) |
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>
-rw-r--r-- | drivers/xen/manage.c | 1 |
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; } |