Messages in this thread |  | | Subject | Re: [PATCHv2] ide: Use NULL to compare with pointer-typed value rather than 0 | From | Sergei Shtylyov <> | Date | Sat, 18 Aug 2018 19:25:47 +0300 |
| |
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
|  |