]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b76949888d725bf7d3f811d6a4936591c2f951b
tree69c1b7278d9f4be3e5417f5897cdce354460bb0a
parentac3bd14801d80fa54b725e9393b698ea7589085d
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