From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoann Padioleau Date: Fri, 27 Jul 2007 16:49:54 +0000 Subject: Re: [PATCH 18/68] 0 -> NULL, for arch/um Message-Id: <871wet7pvx.fsf@wanadoo.fr> List-Id: References: <200707270945.LAA17372@ifs.emn.fr> <20070727163541.GA6930@c2.user-mode-linux.org> In-Reply-To: <20070727163541.GA6930@c2.user-mode-linux.org> (Jeff Dike's message of "Fri, 27 Jul 2007 12:35:41 -0400") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Jeff Dike Cc: Yoann Padioleau , kernel-janitors@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Jeff Dike writes: > On Fri, Jul 27, 2007 at 11:45:56AM +0200, Yoann Padioleau wrote: >> When comparing a pointer, it's clearer to compare it to NULL than to 0. > > ACK > >> sys-i386/fault.c | 2 +- >> sys-x86_64/fault.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) > > Except you should probably diff from the top of the kernel tree. Sorry. I will use diffstat -p1 from now on. > > Jeff > > -- > Work email - jdike at linux dot intel dot com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1IET1v-0007fj-NO for user-mode-linux-devel@lists.sourceforge.net; Fri, 27 Jul 2007 09:51:07 -0700 Received: from sicnat3.emn.fr ([193.54.76.194] helo=ron.emn.fr) by mail.sourceforge.net with esmtp (Exim 4.44) id 1IET1t-0001Au-Jt for user-mode-linux-devel@lists.sourceforge.net; Fri, 27 Jul 2007 09:51:07 -0700 From: Yoann Padioleau References: <200707270945.LAA17372@ifs.emn.fr> <20070727163541.GA6930@c2.user-mode-linux.org> Date: Fri, 27 Jul 2007 18:49:54 +0200 In-Reply-To: <20070727163541.GA6930@c2.user-mode-linux.org> (Jeff Dike's message of "Fri, 27 Jul 2007 12:35:41 -0400") Message-ID: <871wet7pvx.fsf@wanadoo.fr> MIME-Version: 1.0 Subject: Re: [uml-devel] [PATCH 18/68] 0 -> NULL, for arch/um List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Jeff Dike Cc: kernel-janitors@vger.kernel.org, akpm@linux-foundation.org, Yoann Padioleau , linux-kernel@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net Jeff Dike writes: > On Fri, Jul 27, 2007 at 11:45:56AM +0200, Yoann Padioleau wrote: >> When comparing a pointer, it's clearer to compare it to NULL than to 0. > > ACK > >> sys-i386/fault.c | 2 +- >> sys-x86_64/fault.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) > > Except you should probably diff from the top of the kernel tree. Sorry. I will use diffstat -p1 from now on. > > Jeff > > -- > Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763516AbXG0Qu4 (ORCPT ); Fri, 27 Jul 2007 12:50:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753322AbXG0Qur (ORCPT ); Fri, 27 Jul 2007 12:50:47 -0400 Received: from sicnat3.emn.fr ([193.54.76.194]:61754 "EHLO ron.emn.fr" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753157AbXG0Quq (ORCPT ); Fri, 27 Jul 2007 12:50:46 -0400 From: Yoann Padioleau To: Jeff Dike Cc: Yoann Padioleau , kernel-janitors@vger.kernel.org, user-mode-linux-devel@lists.sourceforge.net, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 18/68] 0 -> NULL, for arch/um References: <200707270945.LAA17372@ifs.emn.fr> <20070727163541.GA6930@c2.user-mode-linux.org> Date: Fri, 27 Jul 2007 18:49:54 +0200 In-Reply-To: <20070727163541.GA6930@c2.user-mode-linux.org> (Jeff Dike's message of "Fri, 27 Jul 2007 12:35:41 -0400") Message-ID: <871wet7pvx.fsf@wanadoo.fr> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Jeff Dike writes: > On Fri, Jul 27, 2007 at 11:45:56AM +0200, Yoann Padioleau wrote: >> When comparing a pointer, it's clearer to compare it to NULL than to 0. > > ACK > >> sys-i386/fault.c | 2 +- >> sys-x86_64/fault.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) > > Except you should probably diff from the top of the kernel tree. Sorry. I will use diffstat -p1 from now on. > > Jeff > > -- > Work email - jdike at linux dot intel dot com