]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: checking for NULL instead if IS_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Apr 2017 08:31:53 +0000 (11:31 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Apr 2017 08:22:03 +0000 (10:22 +0200)
commit73bd2eaa8785df85a90212c0841541231cc8e723
tree2e19d94b2beed009b3a5ac6c196f8340a1222026
parent33a2e390c4405f003fae5494c87dda45354b43cc
staging: lustre: checking for NULL instead if IS_ERR

lustre_cfg_new() returns error pointers and never NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/obd_config.c