Skip to contentSkip to conversation

IB/hfi1: fix spelling mistake "enought" -> "enough"

PATCH Applied Colin King 3 participants 3 messages May 28, 2020 – May 29, 2020

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 IB/hfi1: fix spelling mistake "enought" -> "enough"

From: Colin Ian King <[email protected]>

There is a spelling mistake in an error message. Fix it.

---
 drivers/infiniband/hw/hfi1/chip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/chip.c +1 -1
index 7f35b9ea158b..15f9c635f292 100644
@@ -14559,7 +14559,7 @@ static bool hfi1_netdev_update_rmt(struct hfi1_devdata *dd)
 	}
 
 	if (hfi1_is_rmt_full(rmt_start, NUM_NETDEV_MAP_ENTRIES)) {
-		dd_dev_err(dd, "Not enought RMT entries used = %d\n",
+		dd_dev_err(dd, "Not enough RMT entries used = %d\n",
 			   rmt_start);
 		return false;
 	}
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Colin King

From: Colin Ian King <[email protected]>

There is a spelling mistake in an error message. Fix it.

---
  drivers/infiniband/hw/hfi1/chip.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/hfi1/chip.c +0 -0
index 7f35b9ea158b..15f9c635f292 100644

drivers/infiniband/hw/hfi1/chip.c static bool hfi1_netdev_update_rmt(struct hfi1_devdata *dd) · line 14565

Quoted 8 lines
drivers/infiniband/hw/hfi1/chip.c +1 -1
@@ -14559,7 +14559,7 @@ static bool hfi1_netdev_update_rmt(struct hfi1_devdata *dd)
  	}
 
  	if (hfi1_is_rmt_full(rmt_start, NUM_NETDEV_MAP_ENTRIES)) {
-		dd_dev_err(dd, "Not enought RMT entries used = %d\n",
+		dd_dev_err(dd, "Not enough RMT entries used = %d\n",
  			   rmt_start);
  		return false;
  	}

Thanks!