Re: [PATCH] IB/hfi1: fix spelling mistake: "Maximim" -> "Maximum"

From: Dennis Dalessandro
Date: Tue Aug 08 2017 - 14:18:43 EST


On 8/5/2017 9:11 AM, Colin King wrote:
From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Trivial fix to spelling mistake in pr_warn_ratelimited warning message

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---
drivers/infiniband/hw/hfi1/mad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hfi1/mad.c b/drivers/infiniband/hw/hfi1/mad.c
index 0a3e2dfdf56e..cb0bb69310e1 100644
--- a/drivers/infiniband/hw/hfi1/mad.c
+++ b/drivers/infiniband/hw/hfi1/mad.c
@@ -172,7 +172,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);
}


Thanks!

Acked-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>