From: Ossama Othman Date: Mon, 19 Jul 2010 08:32:26 +0000 (+0100) Subject: memrar: Address kernel oops during resource cleanup X-Git-Tag: v2.6.36-rc1~520^2~1^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05e2408d4324ae132eda6530cce0aa24e79f0c41;p=pandora-kernel.git memrar: Address kernel oops during resource cleanup Some delayed initialization is performed in this driver. Make sure resources that are used during driver clean-up (e.g. during driver's release() function) are fully initialized before first use. This is particularly important for the case when the delayed initialization isn't completed, leaving behind a partially initialized driver. Such a scenario can occur when RAR is not available on the platform, and the driver is release()d. Signed-off-by: Ossama Othman Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed