2023-02-13 08:57:36

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] habanalabs: Fix spelling mistake "offest" -> "offset"

There is a spelling mistake in a dev_err message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/accel/habanalabs/common/command_submission.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accel/habanalabs/common/command_submission.c b/drivers/accel/habanalabs/common/command_submission.c
index 6c4d9b1aa5de..74ccafeb38dc 100644
--- a/drivers/accel/habanalabs/common/command_submission.c
+++ b/drivers/accel/habanalabs/common/command_submission.c
@@ -3199,7 +3199,7 @@ static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf,
usleep_range(100, 1000);
if (++iter_counter == MAX_TS_ITER_NUM) {
dev_err(buf->mmg->dev,
- "Timestamp offest processing reached timeout of %lld ms\n",
+ "Timestamp offset processing reached timeout of %lld ms\n",
ktime_ms_delta(ktime_get(), timestamp));
return -EAGAIN;
}
--
2.30.2



2023-02-16 14:42:23

by Oded Gabbay

[permalink] [raw]
Subject: Re: [PATCH][next] habanalabs: Fix spelling mistake "offest" -> "offset"

On Mon, Feb 13, 2023 at 10:57 AM Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/accel/habanalabs/common/command_submission.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/accel/habanalabs/common/command_submission.c b/drivers/accel/habanalabs/common/command_submission.c
> index 6c4d9b1aa5de..74ccafeb38dc 100644
> --- a/drivers/accel/habanalabs/common/command_submission.c
> +++ b/drivers/accel/habanalabs/common/command_submission.c
> @@ -3199,7 +3199,7 @@ static int ts_buff_get_kernel_ts_record(struct hl_mmap_mem_buf *buf,
> usleep_range(100, 1000);
> if (++iter_counter == MAX_TS_ITER_NUM) {
> dev_err(buf->mmg->dev,
> - "Timestamp offest processing reached timeout of %lld ms\n",
> + "Timestamp offset processing reached timeout of %lld ms\n",
> ktime_ms_delta(ktime_get(), timestamp));
> return -EAGAIN;
> }
> --
> 2.30.2
>
Thanks,
but I've already fixed it in my tree in the original patch before
seeing this email, sorry.
Oded