Re: [PATCHv2] ide: Use NULL to compare with pointer-typed value rather than 0
From: Sergei Shtylyov <hidden>
Date: 2018-08-18 16:25:52
Also in:
lkml
From: Sergei Shtylyov <hidden>
Date: 2018-08-18 16:25:52
Also in:
lkml
On 08/18/2018 06:53 PM, Sergei Shtylyov wrote:
quoted
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. :-)
quoted
Signed-off-by: zhong jiang <redacted>
[...] MBR, Sergei