Re: [PATCHv2] ide: Use NULL to compare with pointer-typed value rather than 0
From: Sergei Shtylyov
Date: Sat Aug 18 2018 - 12:25:52 EST
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@xxxxxxxxxx>
[...]
MBR, Sergei