From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Ortiz Subject: Re: [patch] nfc: NULL vs zero in nci_activate_target() Date: Thu, 26 Jan 2012 21:23:47 +0100 Message-ID: <20120126202347.GA2305@sortiz-mobl> References: <20120126061330.GA15856@elgon.mountain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lauro Ramos Venancio , Aloisio Almeida Jr , "David S. Miller" , "John W. Linville" , Ilan Elias , linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dan Carpenter Return-path: Content-Disposition: inline In-Reply-To: <20120126061330.GA15856-mgFCXtclrQlZLf2FXnZxJA@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org 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/ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html