Re: [PATCH 02/68] 0 -> NULL, for arch/arm

From: Al Viro
Date: Fri Jul 27 2007 - 08:30:30 EST


On Fri, Jul 27, 2007 at 02:18:59PM +0200, Jan Engelhardt wrote:
> >bool variables are rarely named buf, so no.
>
> Whatever. Java is good in one point: the ! operator requires a bool.

Language and style advocacy -> that way. Use of scalar types, including
pointers, in conditional contexts is both 100% legal and, what's more
important, idiomatic C.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/