net: fec: add return value check after calling .of_property_read_u32()
authorFugang Duan <fugang.duan@nxp.com>
Tue, 11 Apr 2017 11:13:03 +0000 (19:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 18:36:27 +0000 (14:36 -0400)
commit61e04ccbcbc4b1ba974af371e6f63906fb1d78fb
treece2dc1eea8e8c452c4115490e77e6aafa62cd0a0
parent526f1cfb1fc1521f2650accc080d16a7d802679d
net: fec: add return value check after calling .of_property_read_u32()

Add return value check after calling .of_property_read_u32() to avoid
the warning reported by coverity.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c