Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL

From: David Newall
Date: Tue Apr 29 2008 - 13:40:52 EST


H. Peter Anvin wrote:
> 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.

I disagree, but I don't want to debate the point.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/