Re: [PATCH 12/68] 0 -> NULL, for arch/powerpc
From: Paul Mackerras <hidden>
Date: 2007-07-28 02:39:51
Also in:
kernel-janitors, lkml
From: Paul Mackerras <hidden>
Date: 2007-07-28 02:39:51
Also in:
kernel-janitors, lkml
Yoann Padioleau writes:
When comparing a pointer, it's clearer to compare it to NULL than to 0.
As other people have said, if you're going to spend time on this, testing (!buf) is more idiomatic in the kernel than (buf == NULL). Paul.