IB/hfi1: Fix misspelling in comment
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Sun, 9 Apr 2017 17:17:06 +0000 (10:17 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 28 Apr 2017 17:56:22 +0000 (13:56 -0400)
Checkpatch flagged a misspelled word. Fix it.

Fixes: 8764522e5251 ("staging/rdma/hfi1: Unexpected link up pkey values are not an error")
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c

index b926d2ad47fba2c739e2b7b06111cab59fab1675..4c5e4aa6ef377facd86ebcedf7ad198f478fe2d6 100644 (file)
@@ -7123,7 +7123,7 @@ static void add_full_mgmt_pkey(struct hfi1_pportdata *ppd)
 {
        struct hfi1_devdata *dd = ppd->dd;
 
-       /* Sanity check - ppd->pkeys[2] should be 0, or already initalized */
+       /* Sanity check - ppd->pkeys[2] should be 0, or already initialized */
        if (!((ppd->pkeys[2] == 0) || (ppd->pkeys[2] == FULL_MGMT_P_KEY)))
                dd_dev_warn(dd, "%s pkey[2] already set to 0x%x, resetting it to 0x%x\n",
                            __func__, ppd->pkeys[2], FULL_MGMT_P_KEY);