staging: lustre: lov: Fix sparse warning using plain integer as NULL pointer
authorMarc Fite <marc@fite.cat>
Sun, 27 Jul 2014 18:31:08 +0000 (20:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Jul 2014 18:43:01 +0000 (11:43 -0700)
commite6be8e632c6b5e63643bac03198ce3c13cbe651d
tree69c1b7278d9f4be3e5417f5897cdce354460bb0a
parentb9f288014e398bacbdfbbf0b27f5931be1f56763
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 <marc@fite.cat>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_obd.c