commit | acdd1b8e681405beeb1f73333947fd5a42b871e9 | [log] [tgz] |
---|---|---|
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | Sat Feb 13 20:32:48 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 14 16:21:15 2016 -0800 |
tree | 2b7fe36ba384af006880803d7f4089d7605e84ce | |
parent | d60fc1bbc26a16e79258d9b11baea83f49ff7776 [diff] |
staging: lustre: obdclass: Use IS_ERR_OR_NULL 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: //<smpl> @@ expression e; @@ - e == NULL || IS_ERR(e) + IS_ERR_OR_NULL(e) //</smpl> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>