Thread (8 messages) flat view 8 messages, 4 authors, 2016-09-06

Re: [PATCH -next v2] net: hns: fix return value check in hns_dsaf_get_cfg()

From: David Miller <davem@davemloft.net>
Date: 2016-07-05 17:21:38

From: weiyj_lk@163.com
Date: Tue,  5 Jul 2016 07:56:52 +0000
From: Wei Yongjun <redacted>

In case of error, 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