Date: Fri, 30 Mar 2018 18:52:24 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r331800 - stable/11/sys/ofed/drivers/infiniband/core Message-ID: <201803301852.w2UIqOYx088258@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301852.w2UIqOYx088258>