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>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Suggested by scripts/coccinelle/api/ptr_ret.cocci.
Signed-off-by:
Roland Dreier <roland@purestorage.com>