Skip to content

Commit 14d6c3a

Browse files
Adit Ranadivedledford
authored andcommitted
RDMA/vmw_pvrdma: Fix a signedness
Fixes: 29c8d9e ("IB: Add vmw_pvrdma driver") Signed-off-by: Adit Ranadive <[email protected]> Reviewed-by: Yuval Shaia <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent 72f9b08 commit 14d6c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i)
299299

300300
void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq)
301301
{
302-
int head;
302+
unsigned int head;
303303
int has_data;
304304

305305
if (!cq->is_kernel)

0 commit comments

Comments
 (0)