[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6fcc0a0707270507u1c77e093y30d9bd5bddfa9054@mail.gmail.com>
Date: Fri, 27 Jul 2007 16:07:13 +0400
From: "Alexey Dobriyan" <adobriyan@...il.com>
To: "Jan Engelhardt" <jengelh@...putergmbh.de>
Cc: "Al Viro" <viro@....linux.org.uk>,
"Yoann Padioleau" <padator@...adoo.fr>,
kernel-janitors@...r.kernel.org, rmk@....linux.org.uk,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/68] 0 -> NULL, for arch/arm
On 7/27/07, Jan Engelhardt <jengelh@...putergmbh.de> wrote:
>
> On Jul 27 2007 10:59, 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...
>
> Makes it look like it's used as a bool.
bool variables are rarely named buf, so no.
-
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