aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/bestcomm/bestcomm.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2008-03-22 14:20:29 +1100
committerPaul Mackerras <paulus@samba.org>2008-03-24 17:55:48 +1100
commitb8c19eb16a7e6df57d0f6d67e42ce026e5d5930b (patch)
tree5a8fd8fef3283cafbbe1419ca296eaa293d07afa /arch/powerpc/sysdev/bestcomm/bestcomm.c
parent[POWERPC] Fix crash in init_ipic_sysfs on efika (diff)
downloadlinux-dev-b8c19eb16a7e6df57d0f6d67e42ce026e5d5930b.tar.xz
linux-dev-b8c19eb16a7e6df57d0f6d67e42ce026e5d5930b.zip
[POWERPC] mpc5200-fec: Fix possible NULL dereference in mdio driver
If the reg property is missing from the phy node (unlikely, but possible), then the kernel will oops with a NULL pointer dereference. This fixes it by checking the pointer first. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/bestcomm/bestcomm.c')
0 files changed, 0 insertions, 0 deletions