Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1476910

Re: [PATCH -next] drm/fsl-dcu: use PTR_ERR_OR_ZERO() to simplify the code

From Stefan Agner <stefan@agner.ch>
Newsgroups linux.kernel
Subject Re: [PATCH -next] drm/fsl-dcu: use PTR_ERR_OR_ZERO() to simplify the code
Date 2016-09-05 21:40 +0200
Message-ID <se7Um-86f-7@gated-at.bofh.it> (permalink)
References <rYIbv-1BM-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016-07-25 00:08, Wei Yongjun wrote:
> 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 <weiyj.lk@gmail.com>

Applied!

--
Stefan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH -next] drm/fsl-dcu: use PTR_ERR_OR_ZERO() to simplify the  code Stefan Agner <stefan@agner.ch> - 2016-09-05 21:40 +0200

csiph-web