Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756244Ab0LHWhv (ORCPT ); Wed, 8 Dec 2010 17:37:51 -0500 Received: from kroah.org ([198.145.64.141]:59769 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756161Ab0LHWhs (ORCPT ); Wed, 8 Dec 2010 17:37:48 -0500 Date: Wed, 8 Dec 2010 14:30:23 -0800 From: Greg KH To: Peter Huewe Cc: Greg Kroah-Hartman , Markus Grabner , Shawn Bohrer , Tejun Heo , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging/line6: Fix sparse warning 'Using plain integer as NULL pointer' Message-ID: <20101208223023.GA1860@kroah.com> References: <1291761482-28500-1-git-send-email-peterhuewe@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1291761482-28500-1-git-send-email-peterhuewe@gmx.de> 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: 738 Lines: 20 On Tue, Dec 07, 2010 at 11:38:02PM +0100, Peter Huewe wrote: > This patch fixes the warning generated by sparse: "Using plain integer > as NULL pointer" by replacing the offending 0s with NULL. > > Signed-off-by: Peter Huewe > --- > KernelVersion: linux-next-20101207 > (line6 staging driver does currently _not_ build, but this is not caused by this patch. > Maybe I'll have a look at it.) It builds just fine for me here, what errors are you seeing? thanks, greg k-h -- 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/