diff options
author | Sean Hefty <sean.hefty@intel.com> | 2011-12-06 16:13:10 -0500 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-01-04 12:17:45 -0500 |
commit | c89d1bedf8b130d5b20f56a484989a19a2c2842a (patch) | |
tree | ac1e78a8213553335639f21eb8bac4da534c13f2 /include/rdma/ib_cm.h | |
parent | 46ea5061c750fc6b088b9566234287115fb70f98 (diff) |
rdma/core: Fix sparse warnings
Clean up sparse warnings in the rdma core layer.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include/rdma/ib_cm.h')
-rw-r--r-- | include/rdma/ib_cm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h index c8f94e8db69c..83f77ac33957 100644 --- a/include/rdma/ib_cm.h +++ b/include/rdma/ib_cm.h | |||
@@ -38,6 +38,9 @@ | |||
38 | #include <rdma/ib_mad.h> | 38 | #include <rdma/ib_mad.h> |
39 | #include <rdma/ib_sa.h> | 39 | #include <rdma/ib_sa.h> |
40 | 40 | ||
41 | /* ib_cm and ib_user_cm modules share /sys/class/infiniband_cm */ | ||
42 | extern struct class cm_class; | ||
43 | |||
41 | enum ib_cm_state { | 44 | enum ib_cm_state { |
42 | IB_CM_IDLE, | 45 | IB_CM_IDLE, |
43 | IB_CM_LISTEN, | 46 | IB_CM_LISTEN, |