From: Adit Ranadive Date: Tue, 29 Aug 2017 22:51:30 +0000 (-0700) Subject: RDMA/vmw_pvrdma: Fix a signedness X-Git-Tag: v4.14-rc2~9^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14d6c3a83fbcd9c3d19e24d8d5820a912f2615c9;p=platform%2Fkernel%2Flinux-rpi.git RDMA/vmw_pvrdma: Fix a signedness Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver") Signed-off-by: Adit Ranadive Reviewed-by: Yuval Shaia Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c index 8a12dc7..3562c0c 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c @@ -299,7 +299,7 @@ static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq) { - int head; + unsigned int head; int has_data; if (!cq->is_kernel)