linux/net/sunrpc/xprtrdma
Chuck Lever eed50879d6 xprtrdma: Squelch kbuild sparse complaint
New complaint from kbuild for 4.9.y:

net/sunrpc/xprtrdma/verbs.c:489:19: sparse: incompatible types in
    comparison expression (different type sizes)

verbs.c:
489	max_sge = min(ia->ri_device->attrs.max_sge, RPCRDMA_MAX_SEND_SGES);

I can't reproduce this running sparse here. Likewise, "make W=1
net/sunrpc/xprtrdma/verbs.o" never indicated any issue.

A little poking suggests that because the range of its values is
small, gcc can make the actual width of RPCRDMA_MAX_SEND_SGES
smaller than the width of an unsigned integer.

Fixes: 16f906d66c ("xprtrdma: Reduce required number of send SGEs")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2017-03-17 16:05:21 -04:00
..
backchannel.c xprtrdma: Cap size of callback buffer resources 2016-11-29 16:45:44 -05:00
fmr_ops.c xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00
frwr_ops.c xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00
Makefile xprtrdma: Remove ALLPHYSICAL memory registration mode 2016-07-11 15:50:43 -04:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
rpc_rdma.c xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00
svc_rdma_backchannel.c svcrdma: Remove unused variables in xprt_rdma_bc_allocate() 2016-11-30 17:31:14 -05:00
svc_rdma_marshal.c svcrdma: Generalize svc_rdma_xdr_decode_req() 2016-05-13 15:53:06 -04:00
svc_rdma_recvfrom.c svcrdma: avoid duplicate dma unmapping during error recovery 2017-01-12 16:14:47 -05:00
svc_rdma_sendto.c svcrdma: Further clean-up of svc_rdma_get_inv_rkey() 2016-11-30 17:31:16 -05:00
svc_rdma_transport.c The one new feature is support for a new NFSv4.2 mode_umask attribute 2016-12-16 10:48:28 -08:00
svc_rdma.c svcrdma: Define maximum number of backchannel requests 2016-01-19 15:30:48 -05:00
transport.c xprtrdma: Properly recover FRWRs with in-flight FASTREG WRs 2017-02-10 14:02:36 -05:00
verbs.c xprtrdma: Squelch kbuild sparse complaint 2017-03-17 16:05:21 -04:00
xprt_rdma.h xprtrdma: Refactor management of mw_list field 2017-02-10 14:02:37 -05:00