Date: Fri, 22 Apr 2016 07:29:38 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298461 - head/sys/contrib/rdma/krping Message-ID: <201604220729.u3M7Tcfg025068@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Apr 22 07:29:38 2016 New Revision: 298461 URL: https://svnweb.freebsd.org/changeset/base/298461 Log: Fix for printf() compile warning when fast_reg.length is 64-bit. Changing fast_reg.length to 64 bits is planned in the future. Krping uses 32-bit lengths internally. Sponsored by: Mellanox Technologies MFC after: 1 week Modified: head/sys/contrib/rdma/krping/krping.c Modified: head/sys/contrib/rdma/krping/krping.c ============================================================================== --- head/sys/contrib/rdma/krping/krping.c Fri Apr 22 06:42:50 2016 (r298460) +++ head/sys/contrib/rdma/krping/krping.c Fri Apr 22 07:29:38 2016 (r298461) @@ -890,7 +890,7 @@ static u32 krping_rdma_rkey(struct krpin post_inv, cb->fastreg_wr.wr.fast_reg.rkey, cb->fastreg_wr.wr.fast_reg.page_shift, - cb->fastreg_wr.wr.fast_reg.length, + (unsigned)cb->fastreg_wr.wr.fast_reg.length, (uintmax_t)cb->fastreg_wr.wr.fast_reg.iova_start, cb->fastreg_wr.wr.fast_reg.page_list_len);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604220729.u3M7Tcfg025068>