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

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

From: Leon Romanovsky <hidden>
Date: 2016-07-19 13:05:19
Also in: linux-rdma

On Tue, Jul 19, 2016 at 11:35:46AM +0000, Wei Yongjun wrote:
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>
Thanks,
Acked-by: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help