aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/rdma/opa_port_info.h
diff options
context:
space:
mode:
authorEaswar Hariharan <easwar.hariharan@intel.com>2016-02-03 14:36:58 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:37:59 -0500
commite1bf0d5ecdc49cd4e2014da0d60efa74f5714fba (patch)
treebe2e23e158a7dadaddac1ad5ea3abf0e059dbe6b /include/rdma/opa_port_info.h
parentstaging/rdma/hfi1: Remove modify_port and port_immutable functions (diff)
downloadwireguard-linux-e1bf0d5ecdc49cd4e2014da0d60efa74f5714fba.tar.xz
wireguard-linux-e1bf0d5ecdc49cd4e2014da0d60efa74f5714fba.zip
staging/rdma/hfi1, IB/core: Fix LinkDownReason define for consistency
LinkDownReason LocalMediaNotInstalled lacked an underscore and was inconsistent with other defines in the same family. This patch fixes this. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/opa_port_info.h')
-rw-r--r--include/rdma/opa_port_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/opa_port_info.h b/include/rdma/opa_port_info.h
index a0fa975cd1c1..2b95c2c336eb 100644
--- a/include/rdma/opa_port_info.h
+++ b/include/rdma/opa_port_info.h
@@ -97,7 +97,7 @@
#define OPA_LINKDOWN_REASON_WIDTH_POLICY 41
/* 42-48 reserved */
#define OPA_LINKDOWN_REASON_DISCONNECTED 49
-#define OPA_LINKDOWN_REASONLOCAL_MEDIA_NOT_INSTALLED 50
+#define OPA_LINKDOWN_REASON_LOCAL_MEDIA_NOT_INSTALLED 50
#define OPA_LINKDOWN_REASON_NOT_INSTALLED 51
#define OPA_LINKDOWN_REASON_CHASSIS_CONFIG 52
/* 53 reserved */