mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
staging: lustre: Do not use 0 for NULL pointer in console.c
Do not use 0 for NULL pointer. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a0d6f2b1da
commit
aad7b60bf1
@ -797,7 +797,7 @@ lstcon_group_info(char *name, lstcon_ndlist_ent_t *gents_p,
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (dents_up != 0) {
|
||||
if (dents_up) {
|
||||
/* verbose query */
|
||||
rc = lstcon_nodes_getent(&grp->grp_ndl_list,
|
||||
index_p, count_p, dents_up);
|
||||
|
Loading…
x
Reference in New Issue
Block a user