diff options
author | Parav Pandit <parav@mellanox.com> | 2020-01-26 16:26:51 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-11 14:00:40 -0400 |
commit | e368d23f57f6a08341d35c44255f2d8e7695152b (patch) | |
tree | 958f379b12b2f0d336c978f2ab5a554e7f01b720 /drivers/infiniband/core/addr.c | |
parent | be439912e7c2e3e78ebd087932c165a83bdca6b5 (diff) |
RDMA/cma: Rename cma_device ref/deref helpers to to get/put
Helper functions which increment/decrement reference count of a
structure read better when they are named with the get/put suffix.
Hence, rename cma_ref/deref_id() to cma_id_get/put(). Also use
cma_get_id() wrapper to find the balancing put() calls.
Link: https://lore.kernel.org/r/20200126142652.104803-7-leon@kernel.org
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/addr.c')
0 files changed, 0 insertions, 0 deletions