diff options
-rw-r--r-- | drivers/infiniband/core/uverbs.h | 2 | ||||
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h index 1e5aeb39f774..63f7f7db5902 100644 --- a/drivers/infiniband/core/uverbs.h +++ b/drivers/infiniband/core/uverbs.h | |||
@@ -98,7 +98,7 @@ ib_uverbs_init_udata_buf_or_null(struct ib_udata *udata, | |||
98 | 98 | ||
99 | struct ib_uverbs_device { | 99 | struct ib_uverbs_device { |
100 | atomic_t refcount; | 100 | atomic_t refcount; |
101 | int num_comp_vectors; | 101 | u32 num_comp_vectors; |
102 | struct completion comp; | 102 | struct completion comp; |
103 | struct device dev; | 103 | struct device dev; |
104 | /* First group for device attributes, NULL terminated array */ | 104 | /* First group for device attributes, NULL terminated array */ |
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 6a47ba85c54c..e7e733add99f 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h | |||
@@ -366,7 +366,7 @@ struct ib_tm_caps { | |||
366 | 366 | ||
367 | struct ib_cq_init_attr { | 367 | struct ib_cq_init_attr { |
368 | unsigned int cqe; | 368 | unsigned int cqe; |
369 | int comp_vector; | 369 | u32 comp_vector; |
370 | u32 flags; | 370 | u32 flags; |
371 | }; | 371 | }; |
372 | 372 | ||