[openib-general] [PATCH] make device_cap_flags unsigned
Michael S. Tsirkin
mst at mellanox.co.il
Mon Feb 21 03:31:22 PST 2005
Since device_cap_flags is a set of ORed values, make the result
unsigned. Also to be in line with other flags.
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
Index: include/ib_verbs.h
===================================================================
--- include/ib_verbs.h (revision 1846)
+++ include/ib_verbs.h (working copy)
@@ -93,7 +93,7 @@ struct ib_device_attr {
u32 hw_ver;
int max_qp;
int max_qp_wr;
- int device_cap_flags;
+ u32 device_cap_flags;
int max_sge;
int max_sge_rd;
int max_cq;
--
MST - Michael S. Tsirkin
More information about the general
mailing list