-
由 Cyrill Gorcunov 提交于
Add adds checking for platform_get_resource() return code to prevent possible NULL pointer usage. Signed-off-by: NCyrill Gorcunov <gorcunov@gmail.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Kumar Gala <galak@gate.crashing.org> Cc: Brian Waite <waite@skycomputers.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NPaul Mackerras <paulus@samba.org>
7472fd36