Thread (2 messages) 2 messages, 2 authors, 2007-07-28

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help