From: Konrad Rzeszutek Wilk Date: Tue, 17 Apr 2012 18:35:49 +0000 (-0400) Subject: xen/resume: Fix compile warnings. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=186bab1ce04f99153b7eeb3348438b654c24c24b;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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; }