]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: lustre: Fix sparse, using plain integer as NULL pointer in lov_object_fiemap()
authorAndrii <tulup@mail.ru>
Wed, 6 Dec 2017 09:33:10 +0000 (11:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 14:56:47 +0000 (15:56 +0100)
commit6e6e26f91b04b83df9b0fe4e1fb08285b121fc0f
tree85b5ea095c180e0914a731a5328cab909e5cb51e
parente8cd29b774ddd28bfe6d693c82241e294dc91e09
staging: lustre: Fix sparse, using plain integer as NULL pointer in lov_object_fiemap()

Change 0 to NULL in lov_object_fiemap() in order to fix warning produced by
sparse

Signed-off-by: Andrii Vladyka <tulup@mail.ru>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_object.c