Tag: acdd1b8e681405beeb1f73333947fd5a42b871e9

staging: lustre: obdclass: Use IS_ERR_OR_NULL

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Use macro IS_ERR_OR_NULL in place of tests for NULL and IS_ERR. The Coccinelle semantic patch used to make the change is as follows: // @@ expression e; @@ – e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/obdclass/kernelcomm.c | 2 +- 1 …

Continue reading