staging/zram: Fix sparse warning 'Using plain integer as NULL pointer'
commitbe3e5b32462790b91c14d5869fbabaf5bfe7c901
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 7 Dec 2010 22:44:33 +0000 (7 23:44 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 8 Dec 2010 22:31:02 +0000 (8 14:31 -0800)
tree1d07cf733c51ab0d99e257911769e3d7ba109448
parent597a1e7cccc9a5a0c47629267ac4b23bf8654578
staging/zram: Fix sparse warning 'Using plain integer as NULL pointer'

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@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/xvmalloc.c