lkml.org 
[lkml]   [2018]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCHv2] ide: Use NULL to compare with pointer-typed value rather than 0
From
Date
On 08/18/2018 06:53 PM, Sergei Shtylyov wrote:

>> We should use NULL to compare with pointer-typed value rather than
>> 0. The issue is detected with the help of Coccinelle.
>
> Your description stopped to match the patch in v2.

And your subject as well...

> Actually, this X == NULL to !x preference is largely spocific to netdev...

Specific, of course. :-)

> Although, IDE maintainer is the same now person. :-)

"The same person now" I wanted to type. :-)

>
>> Signed-off-by: zhong jiang <zhongjiang@huawei.com>
[...]

MBR, Sergei

\
 
 \ /
  Last update: 2018-08-18 18:26    [W:0.040 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site