[openib-general] [PATCHv4] kdapl: remove use of HANDLE's (vs. r2572)

Tom Duffy tduffy at sun.com
Wed Jun 8 13:19:41 PDT 2005


On Wed, 2005-06-08 at 21:48 +0200, Bernhard Fischer wrote:
> Tom, just curious..
> Do you plan to iterate over those disturbing
> 'if (NULL != this)' and 'if (0 != that)' occurances, too? I personally
> would appreciate it, since these variants are harder to read for me.

What do you want to see instead?

if (this) {
	/* do stuff */
}

or were you thinking:

if (this != NULL) {
	/* do stuff */
}

> But then i also tend to prefer '* 4711e-0815' over '/ 0x100000'

Come again?


-tduffy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050608/e77a286a/attachment.sig>


More information about the general mailing list