diff options
author | Wei Yongjun <[email protected]> | 2012-09-27 19:04:21 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-09-28 01:18:32 -0400 |
commit | df555b665367f9de6c04826acc482096f17c243d (patch) | |
tree | a7ddfe21f30e9b0f99da71425e9e6aeef430aa33 /lib/mpi/mpiutil.c | |
parent | bc9259a8bae9e814fc1f775a1b3effa13e6ad330 (diff) |
netdev: octeon: fix return value check in octeon_mgmt_init_phy()
In case of error, the function of_phy_connect() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions