svn commit: r331800 - stable/11/sys/ofed/drivers/infiniband/core
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Mar 30 18:52:24 UTC 2018
Author: hselasky
Date: Fri Mar 30 18:52:24 2018
New Revision: 331800
URL: https://svnweb.freebsd.org/changeset/base/331800
Log:
MFC r331204:
Remove redundant integer cast in ibcore. The "ref_count" field already
has integer type.
Sponsored by: Mellanox Technologies
Modified:
stable/11/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c
==============================================================================
--- stable/11/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c Fri Mar 30 18:51:36 2018 (r331799)
+++ stable/11/sys/ofed/drivers/infiniband/core/ib_fmr_pool.c Fri Mar 30 18:52:24 2018 (r331800)
@@ -155,7 +155,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *p
#ifdef DEBUG
if (fmr->ref_count !=0) {
pr_warn(PFX "Unmapping FMR %p with ref count %d\n",
- fmr, (int)fmr->ref_count);
+ fmr, fmr->ref_count);
}
#endif
}
More information about the svn-src-all
mailing list