Re: [PATCH net-next] net: stmmac: Fix return value check in qcom_ethqos_probe()

From
David Miller <davem@davemloft.net>
Date
2019-01-25 06:13:56
Also in
kernel-janitors, linux-arm-kernel
Reply to
Wei Yongjun, 2019-01-23
From: Wei Yongjun <redacted>
Date: Wed, 23 Jan 2019 06:19:18 +0000
In case of error, the function devm_clk_get() returns ERR_PTR() and
never returns NULL. The NULL test in the return value check should be
replaced with IS_ERR().

Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
Signed-off-by: Wei Yongjun <redacted>
Applied, thanks.
Thread (4 messages) 4 messages, 4 authors, last reply 2019-01-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help