2019-10-02 13:55:09

by Tomer Tayar

[permalink] [raw]
Subject: [PATCH] habanalabs: Fix typos

s/paerser/parser/
s/requeusted/requested/
s/an JOB/a JOB/

Signed-off-by: Tomer Tayar <[email protected]>
---
drivers/misc/habanalabs/habanalabs.h | 2 +-
drivers/misc/habanalabs/hw_queue.c | 4 ++--
include/uapi/misc/habanalabs.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/misc/habanalabs/habanalabs.h b/drivers/misc/habanalabs/habanalabs.h
index 75862be53c60..c3d24ffad9fa 100644
--- a/drivers/misc/habanalabs/habanalabs.h
+++ b/drivers/misc/habanalabs/habanalabs.h
@@ -774,7 +774,7 @@ struct hl_cs_job {
};

/**
- * struct hl_cs_parser - command submission paerser properties.
+ * struct hl_cs_parser - command submission parser properties.
* @user_cb: the CB we got from the user.
* @patched_cb: in case of patching, this is internal CB which is submitted on
* the queue instead of the CB we got from the IOCTL.
diff --git a/drivers/misc/habanalabs/hw_queue.c b/drivers/misc/habanalabs/hw_queue.c
index 55b383b2a116..f733b534f738 100644
--- a/drivers/misc/habanalabs/hw_queue.c
+++ b/drivers/misc/habanalabs/hw_queue.c
@@ -220,7 +220,7 @@ int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id,
}

/*
- * ext_hw_queue_schedule_job - submit an JOB to an external queue
+ * ext_hw_queue_schedule_job - submit a JOB to an external queue
*
* @job: pointer to the job that needs to be submitted to the queue
*
@@ -278,7 +278,7 @@ static void ext_hw_queue_schedule_job(struct hl_cs_job *job)
}

/*
- * int_hw_queue_schedule_job - submit an JOB to an internal queue
+ * int_hw_queue_schedule_job - submit a JOB to an internal queue
*
* @job: pointer to the job that needs to be submitted to the queue
*
diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
index 39c4ea51a719..53e4ff73578e 100644
--- a/include/uapi/misc/habanalabs.h
+++ b/include/uapi/misc/habanalabs.h
@@ -589,7 +589,7 @@ struct hl_debug_args {
*
* The user can call this IOCTL with a handle it received from the CS IOCTL
* to wait until the handle's CS has finished executing. The user will wait
- * inside the kernel until the CS has finished or until the user-requeusted
+ * inside the kernel until the CS has finished or until the user-requested
* timeout has expired.
*
* The return value of the IOCTL is a standard Linux error code. The possible
--
2.17.1


2019-10-05 06:50:46

by Oded Gabbay

[permalink] [raw]
Subject: Re: [PATCH] habanalabs: Fix typos

On Wed, Oct 2, 2019 at 4:53 PM Tomer Tayar <[email protected]> wrote:
>
> s/paerser/parser/
> s/requeusted/requested/
> s/an JOB/a JOB/
>
> Signed-off-by: Tomer Tayar <[email protected]>
> ---
> drivers/misc/habanalabs/habanalabs.h | 2 +-
> drivers/misc/habanalabs/hw_queue.c | 4 ++--
> include/uapi/misc/habanalabs.h | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/misc/habanalabs/habanalabs.h b/drivers/misc/habanalabs/habanalabs.h
> index 75862be53c60..c3d24ffad9fa 100644
> --- a/drivers/misc/habanalabs/habanalabs.h
> +++ b/drivers/misc/habanalabs/habanalabs.h
> @@ -774,7 +774,7 @@ struct hl_cs_job {
> };
>
> /**
> - * struct hl_cs_parser - command submission paerser properties.
> + * struct hl_cs_parser - command submission parser properties.
> * @user_cb: the CB we got from the user.
> * @patched_cb: in case of patching, this is internal CB which is submitted on
> * the queue instead of the CB we got from the IOCTL.
> diff --git a/drivers/misc/habanalabs/hw_queue.c b/drivers/misc/habanalabs/hw_queue.c
> index 55b383b2a116..f733b534f738 100644
> --- a/drivers/misc/habanalabs/hw_queue.c
> +++ b/drivers/misc/habanalabs/hw_queue.c
> @@ -220,7 +220,7 @@ int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id,
> }
>
> /*
> - * ext_hw_queue_schedule_job - submit an JOB to an external queue
> + * ext_hw_queue_schedule_job - submit a JOB to an external queue
> *
> * @job: pointer to the job that needs to be submitted to the queue
> *
> @@ -278,7 +278,7 @@ static void ext_hw_queue_schedule_job(struct hl_cs_job *job)
> }
>
> /*
> - * int_hw_queue_schedule_job - submit an JOB to an internal queue
> + * int_hw_queue_schedule_job - submit a JOB to an internal queue
> *
> * @job: pointer to the job that needs to be submitted to the queue
> *
> diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
> index 39c4ea51a719..53e4ff73578e 100644
> --- a/include/uapi/misc/habanalabs.h
> +++ b/include/uapi/misc/habanalabs.h
> @@ -589,7 +589,7 @@ struct hl_debug_args {
> *
> * The user can call this IOCTL with a handle it received from the CS IOCTL
> * to wait until the handle's CS has finished executing. The user will wait
> - * inside the kernel until the CS has finished or until the user-requeusted
> + * inside the kernel until the CS has finished or until the user-requested
> * timeout has expired.
> *
> * The return value of the IOCTL is a standard Linux error code. The possible
> --
> 2.17.1
>

This patch is:
Reviewed-by: Oded Gabbay <[email protected]>