diff options
author | Easwar Hariharan | 2016-02-03 23:36:58 +0100 |
---|---|---|
committer | Doug Ledford | 2016-03-11 02:37:59 +0100 |
commit | e1bf0d5ecdc49cd4e2014da0d60efa74f5714fba (patch) | |
tree | be2e23e158a7dadaddac1ad5ea3abf0e059dbe6b /drivers/staging/rdma/hfi1/chip.c | |
parent | staging/rdma/hfi1: Remove modify_port and port_immutable functions (diff) | |
download | kernel-qcow2-linux-e1bf0d5ecdc49cd4e2014da0d60efa74f5714fba.tar.gz kernel-qcow2-linux-e1bf0d5ecdc49cd4e2014da0d60efa74f5714fba.tar.xz kernel-qcow2-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 'drivers/staging/rdma/hfi1/chip.c')
-rw-r--r-- | drivers/staging/rdma/hfi1/chip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c index 8c06e3b0185a..f31cc238d6db 100644 --- a/drivers/staging/rdma/hfi1/chip.c +++ b/drivers/staging/rdma/hfi1/chip.c @@ -5950,12 +5950,12 @@ static void handle_qsfp_int(struct hfi1_devdata *dd, u32 src_ctx, u64 reg) if ((ppd->offline_disabled_reason > HFI1_ODR_MASK( - OPA_LINKDOWN_REASONLOCAL_MEDIA_NOT_INSTALLED)) || + OPA_LINKDOWN_REASON_LOCAL_MEDIA_NOT_INSTALLED)) || (ppd->offline_disabled_reason == HFI1_ODR_MASK(OPA_LINKDOWN_REASON_NONE))) ppd->offline_disabled_reason = HFI1_ODR_MASK( - OPA_LINKDOWN_REASONLOCAL_MEDIA_NOT_INSTALLED); + OPA_LINKDOWN_REASON_LOCAL_MEDIA_NOT_INSTALLED); if (ppd->host_link_state == HLS_DN_POLL) { /* |