]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: obdclass: Fix comparison to NULL
authorDafna Hirschfeld <dafna3@gmail.com>
Sun, 4 Mar 2018 20:09:32 +0000 (22:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:01:11 +0000 (04:01 -0800)
commit683e8bc8d6622ca8a7fb99ce5d634fb32b1460bc
tree65e0ccece77761f75cfa222211e70cac9b49954e
parent4d3cc164ce8b98820961aca0fcfd7da1aba45242
staging: lustre: obdclass: Fix comparison to NULL

Replace comparison to NULL with a 'not' operator.
Issue found with checkpatch.

Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c