Thread (1 message) 1 message, 1 author, 2016-07-20

Re: [PATCH -next] net/mlx5: Use PTR_ERR_OR_ZERO() to simplify the code

From: David Miller <hidden>
Date: 2016-07-20 21:48:13
Also in: linux-rdma

From: Wei Yongjun <weiyj_lk-9Onoh4P/yGk@public.gmane.org>
Date: Tue, 19 Jul 2016 11:35:46 +0000
From: Wei Yongjun <redacted>

Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Signed-off-by: Wei Yongjun <redacted>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help