IB/hfi1: fix spelling mistake: "Maximim" -> "Maximum"
authorColin Ian King <colin.king@canonical.com>
Sat, 5 Aug 2017 13:11:50 +0000 (14:11 +0100)
committerDoug Ledford <dledford@redhat.com>
Tue, 22 Aug 2017 18:22:37 +0000 (14:22 -0400)
Trivial fix to spelling mistake in pr_warn_ratelimited warning message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/mad.c

index cdcb4d021480831aaa33fd635e9f1ea5e07cdd08..37b19bfae02af12fee6e4167cdbeba4f750b0e9d 100644 (file)
@@ -173,7 +173,7 @@ static struct trap_node *check_and_add_trap(struct hfi1_ibport *ibp,
                        trap_list->list_len++;
                        list_add_tail(&trap->list, &trap_list->list);
                } else {
-                       pr_warn_ratelimited("hfi1: Maximim trap limit reached for 0x%0x traps\n",
+                       pr_warn_ratelimited("hfi1: Maximum trap limit reached for 0x%0x traps\n",
                                            trap->data.generic_type);
                        kfree(trap);
                }