net: sxgbe: Fix NULL dereferece when using DT
authorGirish K.S <ks.giri@samsung.com>
Thu, 15 Jan 2015 01:41:47 +0000 (10:41 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jan 2015 00:01:10 +0000 (19:01 -0500)
When the MAC address is provided in the device tree file, the
condition is true and kernel crashes due to NULL dereference.

Signed-off-by: Girish K.S <ks.giri@samsung.com>
Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found