summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-05-13 16:22:38 +0300
committerToomas Soome <tsoome@me.com>2021-03-13 19:46:07 +0200
commita522dae157f0619c63fd51d4b80abc2ded60ec51 (patch)
treec72ab9533c78ee447c51169553d4cd4c2a6df16d
parent1769817e9676d2db341d2b6828c199f0eabac823 (diff)
downloadillumos-joyent-a522dae157f0619c63fd51d4b80abc2ded60ec51.tar.gz
13590 sol_uverbs: implicit conversion from 'ibt_cep_state_t' to 'enum ib_qp_state'
Reviewed by: C Fraire <cfraire@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
-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