Return-path: Received: from mga09.intel.com ([134.134.136.24]:49232 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752109Ab2AZURl (ORCPT ); Thu, 26 Jan 2012 15:17:41 -0500 Date: Thu, 26 Jan 2012 21:23:47 +0100 From: Samuel Ortiz To: Dan Carpenter Cc: Lauro Ramos Venancio , Aloisio Almeida Jr , "David S. Miller" , "John W. Linville" , Ilan Elias , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch] nfc: NULL vs zero in nci_activate_target() Message-ID: <20120126202347.GA2305@sortiz-mobl> (sfid-20120126_211751_384689_68FD8506) References: <20120126061330.GA15856@elgon.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20120126061330.GA15856@elgon.mountain> Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Dan, On Thu, Jan 26, 2012 at 09:13:31AM +0300, Dan Carpenter wrote: > This is a pointer so it should be NULL instead of zero. Sparse > complains about this stuff: > net/nfc/nci/core.c:447:37: warning: Using plain integer as NULL pointer > > Signed-off-by: Dan Carpenter Acked-by: Samuel Ortiz Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/