IB/hfi1: Fix spelling mistake in linkdown reason
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Tue, 30 May 2017 00:18:46 +0000 (17:18 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 27 Jun 2017 20:58:12 +0000 (16:58 -0400)
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>
drivers/infiniband/hw/hfi1/chip.c

index d6af715..99c29dd 100644 (file)
@@ -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",