[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d02ef0b-f2d0-81c5-0048-36064f3e7955@163.com>
Date: Wed, 6 Jul 2016 21:19:34 +0800
From: Wei Yongjun <weiyj_lk@....com>
To: Alexandre Belloni <alexandre.belloni@...e-electrons.com>
Cc: Boris Brezillon <boris.brezillon@...e-electrons.com>,
Nicolas Ferre <nicolas.ferre@...el.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] memory: atmel-ebi: use PTR_ERR_OR_ZERO() to
simplify the code
Hi,
On 07/06/2016 08:18 PM, Alexandre Belloni wrote:
> Hi,
>
> On 06/07/2016 at 12:08:05 +0000, weiyj_lk@....com wrote :
>> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>>
>> Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.
>>
> I'm guessing you found that using coccinnelle or any other static
> analysis tool. Can you mention that in the commit message?
>
Your are right, this patch is found by coccinelle and created by scripts.
(I called it dpatch, a kernel patch IDE, which had integrated coccinelle,
sparse engine, scripts to found and create kernel patch.
REF: https://github.com/weiyj/dpatch-devel).
I mentioned those in passed, but no all of people like this.
Regards,
Wei Yongjun
Powered by blists - more mailing lists