[lkml]   [2016]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -next] memory: atmel-ebi: use PTR_ERR_OR_ZERO() to simplify the code

On 07/06/2016 08:18 PM, Alexandre Belloni wrote:
> Hi,
> On 06/07/2016 at 12:08:05 +0000, wrote :
>> From: Wei Yongjun <>
>> 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.

I mentioned those in passed, but no all of people like this.

Wei Yongjun

 \ /
  Last update: 2016-07-06 16:01    [W:0.040 / U:11.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site