Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753489Ab0LGXJ2 (ORCPT ); Tue, 7 Dec 2010 18:09:28 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:47103 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751271Ab0LGXJ1 (ORCPT ); Tue, 7 Dec 2010 18:09:27 -0500 Message-ID: <4CFEBEA2.9010102@vflare.org> Date: Tue, 07 Dec 2010 18:09:22 -0500 From: Nitin Gupta User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Peter Huewe CC: 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' References: <1291761873-28980-1-git-send-email-peterhuewe@gmx.de> In-Reply-To: <1291761873-28980-1-git-send-email-peterhuewe@gmx.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 603 Lines: 16 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. Nitin -- 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/