[PATCH] staging/zram: Fix sparse warning 'Using plain integer as NULL pointer'

Greg KH greg at kroah.com
Wed Dec 8 22:30:51 UTC 2010


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 <peterhuewe at gmx.de>
> 
> 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



More information about the devel mailing list