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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Frysinger
Date: Wednesday, August 1, 2007 - 3:03 am

On 7/31/07, Richard Knutsson <ricknu-0@student.ltu.se> wrote:

i'm sure i understand your meaning of ">" ... are you saying that "x
== NULL" is greater (preferred) to "!x" or are you saying that "x ==
NULL" should be changed to "!x" ?

i dont think the former case can be checked by checkpatch.pl, but the
latter certainly can ... but i'd be very skeptical you could get the
wider LKML audience to sign off one way or the other wrt to "x ==
NULL" vs "!x".  you can certainly get people to sign off on "x == 0"
being wrong when x is a pointer.
-mike
-
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, 2:44 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Al Viro, (Fri Jul 27, 3:00 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, David Howells, (Fri Jul 27, 3:14 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Yoann Padioleau, (Fri Jul 27, 3:18 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Yoann Padioleau, (Fri Jul 27, 3:21 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Al Viro, (Fri Jul 27, 3:40 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Mike Frysinger, (Fri Jul 27, 6:37 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Robin Getz, (Fri Jul 27, 6:38 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Richard Knutsson, (Tue Jul 31, 5:04 am)
Re: [PATCH 06/68] 0 -> NULL, for arch/frv, Mike Frysinger, (Wed Aug 1, 3:03 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Richard Knutsson, (Wed Aug 1, 3:38 am)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Matt Mackall, (Wed Aug 1, 1:28 pm)
Re: [PATCH 06/68] 0 -&gt; NULL, for arch/frv, Robin Getz, (Thu Aug 2, 7:58 am)