Re: [PATCH -next] net: ethernet: bgmac: Fix return value check in bgmac_probe() From: David Miller <davem@davemloft.net> Date: 2016-07-12 02:52:21 From: weiyj_lk@163.com Date: Tue, 12 Jul 2016 00:17:28 +0000 From: Wei Yongjun <redacted> In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <redacted> Applied, thanks.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help