From: Jiri Slaby Date: Fri, 7 Jan 2011 00:42:31 +0000 (+0100) Subject: PM: Fix oops in suspend/hibernate code related to failing ioremap() X-Git-Tag: v2.6.38-rc1~68^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26fcaf60fe3861409eb4c455c5c0d0f00f599b08;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed