mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 19:51:25 -04:00
staging/lustre: fix sparse warning
Fix sparse complaint: "Using plain integer as NULL pointer" Signed-off-by: Denis Pithon <denis.pithon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e442294383
commit
81fb955d02
@@ -354,7 +354,7 @@ static int import_sec_check_expire(struct obd_import *imp)
|
||||
return 0;
|
||||
|
||||
CDEBUG(D_SEC, "found delayed sec adapt expired, do it now\n");
|
||||
return sptlrpc_import_sec_adapt(imp, NULL, 0);
|
||||
return sptlrpc_import_sec_adapt(imp, NULL, NULL);
|
||||
}
|
||||
|
||||
static int import_sec_validate_get(struct obd_import *imp,
|
||||
|
||||
Reference in New Issue
Block a user