Commit aad7b60b authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

staging: lustre: Do not use 0 for NULL pointer in console.c

Do not use 0 for NULL pointer.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a0d6f2b1
...@@ -797,7 +797,7 @@ lstcon_group_info(char *name, lstcon_ndlist_ent_t *gents_p, ...@@ -797,7 +797,7 @@ lstcon_group_info(char *name, lstcon_ndlist_ent_t *gents_p,
return rc; return rc;
} }
if (dents_up != 0) { if (dents_up) {
/* verbose query */ /* verbose query */
rc = lstcon_nodes_getent(&grp->grp_ndl_list, rc = lstcon_nodes_getent(&grp->grp_ndl_list,
index_p, count_p, dents_up); index_p, count_p, dents_up);
......
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