[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160720.144813.102595182849965092.davem@davemloft.net>
Date:	Wed, 20 Jul 2016 14:48:13 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	weiyj_lk@....com
Cc:	matanb@...lanox.com, leonro@...lanox.com,
	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
From: Wei Yongjun <weiyj_lk@....com>
Date: Tue, 19 Jul 2016 11:35:46 +0000
> 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>
Applied.
Powered by blists - more mailing lists
 
