[PATCH -next] net: phy: Fix return value check in xgmiitorgmii_probe()
David Miller
davem at davemloft.net
Mon Aug 15 16:34:43 PDT 2016
From: Wei Yongjun <weiyj.lk at gmail.com>
Date: Mon, 15 Aug 2016 22:34:57 +0000
> In case of error, the function of_parse_phandle() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun <weiyj.lk at gmail.com>
Applied.
More information about the linux-arm-kernel
mailing list