Commit 81fb955d authored by Denis Pithon's avatar Denis Pithon Committed by Greg Kroah-Hartman

staging/lustre: fix sparse warning

Fix sparse complaint: "Using plain integer as NULL pointer"
Signed-off-by: default avatarDenis Pithon <denis.pithon@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4422943
...@@ -354,7 +354,7 @@ static int import_sec_check_expire(struct obd_import *imp) ...@@ -354,7 +354,7 @@ static int import_sec_check_expire(struct obd_import *imp)
return 0; return 0;
CDEBUG(D_SEC, "found delayed sec adapt expired, do it now\n"); 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, static int import_sec_validate_get(struct obd_import *imp,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment