aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_verbs.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-17 00:01:06 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-17 00:01:06 -0400
commitb3d636b0d1b2eb870a55ae196b8f3838e1399554 (patch)
treef33ae9f2f618c0367dcddf4238cdba10f29f1d2b /include/rdma/ib_verbs.h
parentedba846af9e1f27bab00d5aebfeef01386e00af0 (diff)
IB: Make struct ib_uobject.id a signed int
IDR IDs are signed, so struct ib_uobject.id should be signed. This avoids some sparse pointer signedness warnings. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r--include/rdma/ib_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 701e7b40560a..40ff51244d19 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -730,7 +730,7 @@ struct ib_uobject {
730 struct ib_ucontext *context; /* associated user context */ 730 struct ib_ucontext *context; /* associated user context */
731 void *object; /* containing object */ 731 void *object; /* containing object */
732 struct list_head list; /* link to context's list */ 732 struct list_head list; /* link to context's list */
733 u32 id; /* index into kernel idr */ 733 int id; /* index into kernel idr */
734 struct kref ref; 734 struct kref ref;
735 struct rw_semaphore mutex; /* protects .live */ 735 struct rw_semaphore mutex; /* protects .live */
736 int live; 736 int live;