[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070727101824.GB27001@flint.arm.linux.org.uk>
Date: Fri, 27 Jul 2007 11:18:24 +0100
From: Russell King <rmk+lkml@....linux.org.uk>
To: Al Viro <viro@....linux.org.uk>
Cc: Yoann Padioleau <padator@...adoo.fr>,
kernel-janitors@...r.kernel.org, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/68] 0 -> NULL, for arch/arm
On Fri, Jul 27, 2007 at 10:59:05AM +0100, Al Viro wrote:
> On Fri, Jul 27, 2007 at 11:44:07AM +0200, Yoann Padioleau wrote:
> > buf = alloc_safe_buffer(device_info, ptr, size, dir);
> > - if (buf == 0) {
> > + if (buf == NULL) {
>
> if (!buf)
> surely...
Definitely the preferred form.
Yoann, please remember to CC folk.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists