Re: [PATCH] netdev: octeon: fix return value check in octeon_mgmt_init_phy()
From: David Miller <davem@davemloft.net>
Date: 2012-09-28 05:18:52
Also in:
netdev
From: David Miller <davem@davemloft.net>
Date: 2012-09-28 05:18:52
Also in:
netdev
From: Wei Yongjun <redacted> Date: Fri, 28 Sep 2012 13:04:21 +0800
From: Wei Yongjun <redacted> 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 <redacted>
Applied, thanks.