From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758738AbYD2Gl6 (ORCPT ); Tue, 29 Apr 2008 02:41:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754564AbYD2Glu (ORCPT ); Tue, 29 Apr 2008 02:41:50 -0400 Received: from terminus.zytor.com ([198.137.202.10]:54450 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754169AbYD2Glu (ORCPT ); Tue, 29 Apr 2008 02:41:50 -0400 Message-ID: <4816C258.7050203@zytor.com> Date: Mon, 28 Apr 2008 23:38:16 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: David Newall CC: Cyrill Gorcunov , Ingo Molnar , Markus Metzger , LKML Subject: Re: [PATCH] x86: DS cleanup - dont treat 0 as NULL References: <20080428191504.GA6842@cvg> <4816BEC8.1080708@davidnewall.com> In-Reply-To: <4816BEC8.1080708@davidnewall.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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