Jiri Slaby 26fcaf60fe PM: Fix oops in suspend/hibernate code related to failing ioremap()
When ioremap() fails (which might happen for some reason), we nicely
oops in suspend_nvs_save() due to NULL dereference by memcpy() in there.
Fail gracefully instead.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2011-01-07 00:26:45 -05:00
..
2010-12-10 12:27:49 -08:00
2010-12-08 19:52:54 +01:00
2011-01-02 15:31:11 -08:00
2010-12-02 01:19:32 -05:00
2010-12-22 19:43:34 -08:00
2010-12-02 14:51:15 -08:00
2010-11-16 13:33:23 -08:00
2010-12-24 01:28:54 -07:00
2010-12-04 11:18:25 -05:00
2010-11-12 07:55:30 -08:00
2010-12-22 19:43:34 -08:00