[SPARC64]: check for possible NULL pointer dereference
commit75c6d1410caa6fea861ef3802e8b186f7685f235
authorCyrill Gorcunov <gorcunov@gmail.com>
Wed, 21 Nov 2007 01:32:19 +0000 (20 17:32 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 5 Dec 2007 13:37:59 +0000 (5 05:37 -0800)
tree1ffd0155b9fd658df6e63c907aa2da642c0ee39b
parent794b26e0600e3aab399f9d0f225f9e0b8782edbb
[SPARC64]: check for possible NULL pointer dereference

This patch adds checking for possible NULL pointer dereference
if of_find_property() failed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_sun4v.c