]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: lustre: fix integer as NULL pointer warnings
authorAlexandr Terekhov <a.terekhov@gmail.com>
Sat, 31 May 2014 15:20:39 +0000 (18:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 19:21:35 +0000 (12:21 -0700)
commit5bcfab136078d02e8ad990bffcb76d150be83dd9
tree566091980655b2defdd2cdf9ac2f07f17adfd4a0
parentaec46bbdeab172a2129ef4e64051e706cbe9ec56
staging: lustre: fix integer as NULL pointer warnings

Fix several sparse warnings "Using plain integer as NULL pointer"

Signed-off-by: Alexandr Terekhov <a.terekhov@gmail.com>
 drivers/staging/lustre/lustre/ldlm/ldlm_resource.c | 4 ++--
 drivers/staging/lustre/lustre/obdclass/obd_mount.c | 4 ++--
 drivers/staging/lustre/lustre/obdecho/lproc_echo.c | 4 ++--
 drivers/staging/lustre/lustre/osc/osc_dev.c        | 2 +-
 drivers/staging/lustre/lustre/ptlrpc/import.c      | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ldlm/ldlm_resource.c
drivers/staging/lustre/lustre/obdclass/obd_mount.c
drivers/staging/lustre/lustre/obdecho/lproc_echo.c
drivers/staging/lustre/lustre/osc/osc_dev.c
drivers/staging/lustre/lustre/ptlrpc/import.c