]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
RDMA/cma: Use PTR_RET rather than if (IS_ERR(...)) + PTR_ERR
authorFengguang Wu <fengguang.wu@intel.com>
Fri, 27 Jul 2012 20:05:18 +0000 (13:05 -0700)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jul 2012 20:05:18 +0000 (13:05 -0700)
commit4e289045286c5f20d7d8f86b18679bad9e9a2003
treeac34153d0379e8073b633bb8f1e3d7834e9224fb
parent5dedb9f3bd5bcb186313ea0c0cff8f2c525d4122
RDMA/cma: Use PTR_RET rather than if (IS_ERR(...)) + PTR_ERR

Suggested by scripts/coccinelle/api/ptr_ret.cocci.

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/cma.c