aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/mcp-core.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-11-11 21:32:44 +0100
committerLen Brown <len.brown@intel.com>2008-12-19 04:40:35 -0500
commit69643279a88dea000ac2f858091d0e365f778245 (patch)
treec6b9a678ccfe9a4e22f747cb05b1bcf789e1b8d0 /drivers/mfd/mcp-core.c
parentba84ed9546e91348fdf3ff2bff859b0ee53b407a (diff)
Hibernate: Do not oops on resume if image data are incorrect
During resume from hibernation using the userland interface image data are being passed from the used space process to the kernel. These data need not be valid, but currently the kernel sometimes oopses if it gets invalid image data, which is wrong. Make the kernel return error codes to the user space in such cases. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/mfd/mcp-core.c')
0 files changed, 0 insertions, 0 deletions