2020-05-28 11:09:21

by Colin King

[permalink] [raw]
Subject: [PATCH][next] IB/hfi1: fix spelling mistake "enought" -> "enough"

From: Colin Ian King <[email protected]>

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

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/infiniband/hw/hfi1/chip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c
index 7f35b9ea158b..15f9c635f292 100644
--- a/drivers/infiniband/hw/hfi1/chip.c
+++ b/drivers/infiniband/hw/hfi1/chip.c
@@ -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;
}
--
2.25.1


2020-05-28 13:34:14

by Dennis Dalessandro

[permalink] [raw]
Subject: Re: [PATCH][next] IB/hfi1: fix spelling mistake "enought" -> "enough"

On 5/28/2020 7:07 AM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/infiniband/hw/hfi1/chip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/infiniband/hw/hfi1/chip.c b/drivers/infiniband/hw/hfi1/chip.c
> index 7f35b9ea158b..15f9c635f292 100644
> --- a/drivers/infiniband/hw/hfi1/chip.c
> +++ b/drivers/infiniband/hw/hfi1/chip.c
> @@ -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!

Acked-by: Dennis Dalessandro <[email protected]>

2020-05-29 18:31:29

by Jason Gunthorpe

[permalink] [raw]
Subject: Re: [PATCH][next] IB/hfi1: fix spelling mistake "enought" -> "enough"

On Thu, May 28, 2020 at 12:07:09PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in an error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/infiniband/hw/hfi1/chip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason