[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4816C258.7050203@zytor.com>
Date: Mon, 28 Apr 2008 23:38:16 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: David Newall <davidn@...idnewall.com>
CC: Cyrill Gorcunov <gorcunov@...il.com>, Ingo Molnar <mingo@...e.hu>,
Markus Metzger <markus.t.metzger@...el.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL
David Newall wrote:
> Cyrill Gorcunov wrote:
>> - return 0;
>> + return NULL;
>
> Why? The constant 0 is C's official symbol for a null pointer.
It's still bad style.
-hpa
--
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