lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48175B45.2030500@davidnewall.com>
Date:	Wed, 30 Apr 2008 03:00:45 +0930
From:	David Newall <davidn@...idnewall.com>
To:	"H. Peter Anvin" <hpa@...or.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

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@...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

Powered by Openwall GNU/*/Linux Powered by OpenVZ