Declare qp_access_flags with the appropriate enum type.
Signed-off-by: Michael S. Tsirkin <[EMAIL PROTECTED]>

Index: userspace/libibverbs/include/infiniband/verbs.h
===================================================================
--- userspace/libibverbs/include/infiniband/verbs.h     (revision 1922)
+++ userspace/libibverbs/include/infiniband/verbs.h     (working copy)
@@ -264,7 +264,7 @@
        uint32_t                rq_psn;
        uint32_t                sq_psn;
        uint32_t                dest_qp_num;
-       int                     qp_access_flags;
+       enum ibv_access_flags   qp_access_flags;
        struct ibv_qp_cap       cap;
        struct ibv_ah_attr      ah_attr;
        struct ibv_ah_attr      alt_ah_attr;

-- 
MST - Michael S. Tsirkin
_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to