]> git.baikalelectronics.ru Git - kernel.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)
commit9778390af1e9f40c9bf69e156c1b40c0daffd57f
tree2e19d94b2beed009b3a5ac6c196f8340a1222026
parent4ac6ecdeec78a3cb64ef99ee43e8ab4aea667883
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