diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2017-05-30 02:18:46 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-06-27 22:58:12 +0200 |
commit | 67838e64fa63415fe4e0da7149bcb123ed9f5612 (patch) | |
tree | 15315d039b3bd12c681e881d798410741b4ed583 /drivers | |
parent | IB/hfi1: Ensure dd->gi_mask can not be overflowed (diff) | |
download | linux-67838e64fa63415fe4e0da7149bcb123ed9f5612.tar.xz linux-67838e64fa63415fe4e0da7149bcb123ed9f5612.zip |
IB/hfi1: Fix spelling mistake in linkdown reason
Spell receive correctly in OPA_LINKDOWN_REASON_RCV_ERROR
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/hfi1/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c index d6af715c35bf..99c29ddcca35 100644 --- a/drivers/infiniband/hw/hfi1/chip.c +++ b/drivers/infiniband/hw/hfi1/chip.c @@ -6906,7 +6906,7 @@ static void reset_neighbor_info(struct hfi1_pportdata *ppd) static const char * const link_down_reason_strs[] = { [OPA_LINKDOWN_REASON_NONE] = "None", - [OPA_LINKDOWN_REASON_RCV_ERROR_0] = "Recive error 0", + [OPA_LINKDOWN_REASON_RCV_ERROR_0] = "Receive error 0", [OPA_LINKDOWN_REASON_BAD_PKT_LEN] = "Bad packet length", [OPA_LINKDOWN_REASON_PKT_TOO_LONG] = "Packet too long", [OPA_LINKDOWN_REASON_PKT_TOO_SHORT] = "Packet too short", |