Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756330Ab0LHWh5 (ORCPT ); Wed, 8 Dec 2010 17:37:57 -0500 Received: from kroah.org ([198.145.64.141]:59773 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756179Ab0LHWht (ORCPT ); Wed, 8 Dec 2010 17:37:49 -0500 Date: Wed, 8 Dec 2010 14:30:51 -0800 From: Greg KH To: Nitin Gupta Cc: Peter Huewe , Greg Kroah-Hartman , Pekka Enberg , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging/zram: Fix sparse warning 'Using plain integer as NULL pointer' Message-ID: <20101208223051.GB1860@kroah.com> References: <1291761873-28980-1-git-send-email-peterhuewe@gmx.de> <4CFEBEA2.9010102@vflare.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CFEBEA2.9010102@vflare.org> 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: 808 Lines: 22 On Tue, Dec 07, 2010 at 06:09:22PM -0500, Nitin Gupta wrote: > On 12/7/2010 5:44 PM, 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 > > Thanks for the fix. I see that it's already fixed in the > project internal repo but I somehow missed sending it to > mainline. Are you ever going to sync your internal repo with the in-kernel one, or should I just delete the in-kernel one? 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/