Grant Likely b8c19eb16a [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>
2008-03-24 17:55:48 +11:00
..
2008-03-18 00:26:07 -04:00
2008-03-17 07:56:31 -04:00
2008-03-10 16:33:33 -07:00
2008-02-05 09:44:23 -08:00
2008-03-12 14:15:00 +01:00
2008-02-08 09:22:38 -08:00
2008-03-04 11:03:09 +02:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-03-19 18:53:37 -07:00
2008-02-26 14:12:09 +09:00
2008-03-18 01:22:10 -04:00
2008-02-21 15:27:07 -08:00
2008-03-19 18:53:37 -07:00
2008-03-17 22:58:21 +11:00
2008-03-04 16:35:12 -08:00