On Sun, Nov 17, 2019 at 03:33:21PM +0200, Danit Goldberg wrote: > The refcount_t API is a kernel self-protection mechanism, and therefore > more suitable for counters variables. > > This patch replaces the counting API from atomic_t API to refcount_t API > of the 'refcount' variable in cm_id_private struct. > > Signed-off-by: Danit Goldberg <danitg@xxxxxxxxxxxx> > Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > drivers/infiniband/core/cm.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) Applied to for-next, thanks Jason