Skip to content

Commit

Permalink
xen/resume: Fix compile warnings.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
konradwilk committed Apr 19, 2012
1 parent 3066616 commit 186bab1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/xen/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 186bab1

Please sign in to comment.