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
This commit is contained in:
Hans Petter Selasky 2016-04-22 07:29:38 +00:00
parent 52ece7d15b
commit d71ca0e296
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298461

View File

@ -890,7 +890,7 @@ static u32 krping_rdma_rkey(struct krping_cb *cb, u64 buf, int post_inv)
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);