[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160719130519.GJ20674@leon.nu>
Date: Tue, 19 Jul 2016 16:05:19 +0300
From: Leon Romanovsky <leonro@...lanox.com>
To: Wei Yongjun <weiyj_lk@....com>
Cc: Matan Barak <matanb@...lanox.com>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
netdev@...r.kernel.org, linux-rdma@...r.kernel.org
Subject: Re: [PATCH -next] net/mlx5: Use PTR_ERR_OR_ZERO() to simplify the
code
On Tue, Jul 19, 2016 at 11:35:46AM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> 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 <yongjun_wei@...ndmicro.com.cn>
Thanks,
Acked-by: Leon Romanovsky <leonro@...lanox.com>
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists