From: Cyrill Gorcunov Date: Tue, 2 Oct 2007 20:30:06 +0000 (-0700) Subject: [POWERPC] Sky Cpu and Nexus: check for platform_get_resource retcode X-Git-Tag: v2.6.24-rc1~1450^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7472fd36a87e84c2819066543224285a6ab79ffc;p=pandora-kernel.git [POWERPC] Sky Cpu and Nexus: check for platform_get_resource retcode Add adds checking for platform_get_resource() return code to prevent possible NULL pointer usage. Signed-off-by: Cyrill Gorcunov Cc: Benjamin Herrenschmidt Cc: Kumar Gala Cc: Brian Waite Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed