OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72f9b08
)
RDMA/vmw_pvrdma: Fix a signedness
author
Adit Ranadive
<aditr@vmware.com>
Tue, 29 Aug 2017 22:51:30 +0000
(15:51 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Thu, 31 Aug 2017 12:35:08 +0000
(08:35 -0400)
Fixes:
29c8d9eba550
("IB: Add vmw_pvrdma driver")
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
index
8a12dc7
..
3562c0c
100644
(file)
--- 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)