From: MyungJoo Ham Date: Fri, 26 Nov 2010 22:07:48 +0000 (+0100) Subject: PM / Hibernate: hibernation_ops->leave should be checked too X-Git-Tag: v2.6.38-rc1~443^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5729c63a51f0f8a351e0f1dc7b3250ebac12c309;p=pandora-kernel.git PM / Hibernate: hibernation_ops->leave should be checked too Because hibernate calls hibernation_ops->leave() without checking whether hibernation_ops->leave is NULL or not, hiberantion_set_ops should WARN_ON if hibernation_ops->leave is NULL. This patch added one more condition to check hibernation_ops->leave. Signed-off-by: MyungJoo Ham Signed-off-by: Kyungmin Park Acked-by: Pavel Machek Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed