Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758013Ab2ECSCF (ORCPT ); Thu, 3 May 2012 14:02:05 -0400 Received: from tservice.ru ([195.178.208.66]:34832 "EHLO tservice.net.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754185Ab2ECSCE (ORCPT ); Thu, 3 May 2012 14:02:04 -0400 Date: Thu, 3 May 2012 22:02:02 +0400 From: Evgeniy Polyakov To: H Hartley Sweeten Cc: Linux Kernel , GregKH Subject: Re: [PATCH] w1: w1_ds2408.c: quite sparse noise about using plaing integer as NULL pointer Message-ID: <20120503180202.GC13988@ioremap.net> References: <201205021702.07694.hartleys@visionengravers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205021702.07694.hartleys@visionengravers.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 695 Lines: 18 On Wed, May 02, 2012 at 05:02:07PM -0700, H Hartley Sweeten (hartleys@visionengravers.com) wrote: > NULL not 0 should be used with pointers. Just remove the offending > lines since they will default to NULL anyway. > > Signed-off-by: H Hartley Sweeten > Cc: Evgeniy Polyakov Looks good, thank you Greg, please pull it into your tree or should it be forwarded to janitor list? -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/