Re: [PATCH 06/68] 0 -> NULL, for arch/frv

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Richard Knutsson <ricknu-0@...>
Cc: Mike Frysinger <vapier.adi@...>, Robin Getz <rgetz@...>, Yoann Padioleau <padator@...>, David Howells <dhowells@...>, <kernel-janitors@...>, <akpm@...>, <linux-kernel@...>
Date: Wednesday, August 1, 2007 - 4:28 pm

On Wed, Aug 01, 2007 at 12:38:39PM +0200, Richard Knutsson wrote:

About the only place that if (x != 0) is preferred to if (x) is cases
where the 0 value doesn't semantically correspond to false/off/disabled.
And that's basically thing that return 0 for success and negative errors.

-- 
Mathematics is the supreme nostalgia of our time.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 06/68] 0 -&gt; NULL, for arch/frv, Yoann Padioleau, (Fri Jul 27, 5:44 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, David Howells, (Fri Jul 27, 6:14 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Yoann Padioleau, (Fri Jul 27, 6:18 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Robin Getz, (Fri Jul 27, 9:38 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Mike Frysinger, (Fri Jul 27, 9:37 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Richard Knutsson, (Tue Jul 31, 8:04 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Mike Frysinger, (Wed Aug 1, 6:03 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Richard Knutsson, (Wed Aug 1, 6:38 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Robin Getz, (Thu Aug 2, 10:58 am)
Re: [PATCH 06/68] 0 -> NULL, for arch/frv, Matt Mackall, (Wed Aug 1, 4:28 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Al Viro, (Fri Jul 27, 6:00 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Yoann Padioleau, (Fri Jul 27, 6:21 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Al Viro, (Fri Jul 27, 6:40 am)