From: Marc Fite Date: Sun, 27 Jul 2014 18:31:08 +0000 (+0200) Subject: staging: lustre: lov: Fix sparse warning using plain integer as NULL pointer X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~175 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6be8e632c6b5e63643bac03198ce3c13cbe651d;p=pandora-kernel.git staging: lustre: lov: 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. drivers/staging/lustre/lustre/lov/lov_obd.c:902:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:946:54: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:2819:46: warning: Using plain integer as NULL pointer Signed-off-by: Marc Fite Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed