mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
3066616ce2
commit
186bab1ce0
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue