summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/sys/ib/clients/of/sol_uverbs/sol_uverbs_qp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/sol_uverbs_qp.h b/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/sol_uverbs_qp.h
index ca6665b83a..03f49b3b3c 100644
--- a/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/sol_uverbs_qp.h
+++ b/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/sol_uverbs_qp.h
@@ -41,7 +41,7 @@ extern "C" {
* Definitions
*/
#define IBT_TO_OFA_QP_STATE(_state) ((_state) < IBT_STATE_SQDRAIN ? \
- (_state) : IBT_STATE_SQD)
+ (enum ib_qp_state)(_state) : IB_QPS_SQD)
/*
* Structures