[PATCH v2] soc: ti: knav_qmss_queue: Fix typos in comments

Hemanth Selam posted 1 patch 2 weeks, 1 day ago
drivers/soc/ti/knav_qmss_queue.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH v2] soc: ti: knav_qmss_queue: Fix typos in comments
Posted by Hemanth Selam 2 weeks, 1 day ago
Correct "specifes" to "specifies" in the knav_queue_open() kernel-doc and
"accomodate" to "accommodate" in knav_pool_create().  No code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
v2:
 - use the subject convention this file already follows, which names the
   driver and capitalises the description (Nishanth Menon)
 - also correct "specifes" in the knav_queue_open() kernel-doc, so the
   file is done in one go rather than a patch per word (Nishanth Menon)

codespell reports nothing else in this file.  The remaining hits under
drivers/soc/ti/ are in other drivers and are left for a separate patch;
"indx" in k3-ringacc.c is a struct field name, not a typo.

v1: https://lore.kernel.org/all/20260907062247.9994-1-hemanth.selam@gmail.com/

 drivers/soc/ti/knav_qmss_queue.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
index 3e4041454f69..6186454dff51 100644
--- a/drivers/soc/ti/knav_qmss_queue.c
+++ b/drivers/soc/ti/knav_qmss_queue.c
@@ -509,7 +509,7 @@ static int knav_queue_flush(struct knav_queue *qh)
 /**
  * knav_queue_open()	- open a hardware queue
  * @name:		- name to give the queue handle
- * @id:			- desired queue number if any or specifes the type
+ * @id:			- desired queue number if any or specifies the type
  *			  of queue
  * @flags:		- the following flags are applicable to queues:
  *	KNAV_QUEUE_SHARED - allow the queue to be shared. Queues are
@@ -805,7 +805,7 @@ void *knav_pool_create(const char *name,
 	}
 
 	/* Region maintains a sorted (by region offset) list of pools
-	 * use the first free slot which is large enough to accomodate
+	 * use the first free slot which is large enough to accommodate
 	 * the request
 	 */
 	last_offset = 0;
-- 
2.48.1
Re: [PATCH v2] soc: ti: knav_qmss_queue: Fix typos in comments
Posted by Kumar, Udit 2 weeks, 1 day ago

On 9/10/2026 10:15 AM, Hemanth Selam wrote:
> Correct "specifes" to "specifies" in the knav_queue_open() kernel-doc and
> "accomodate" to "accommodate" in knav_pool_create().  No code changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
> v2:
>  - use the subject convention this file already follows, which names the
>    driver and capitalises the description (Nishanth Menon)

I suggest using
soc: ti: knav_qmss: in subject instead of knav_qmss_queue
as most recent commits are following this convention


>  - also correct "specifes" in the knav_queue_open() kernel-doc, so the
>    file is done in one go rather than a patch per word (Nishanth Menon)
> 
> codespell reports nothing else in this file.  The remaining hits under
> drivers/soc/ti/ are in other drivers and are left for a separate patch;
> "indx" in k3-ringacc.c is a struct field name, not a typo.
> 
> v1: https://lore.kernel.org/all/20260907062247.9994-1-hemanth.selam@gmail.com/
> 
>  drivers/soc/ti/knav_qmss_queue.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/soc/ti/knav_qmss_queue.c b/drivers/soc/ti/knav_qmss_queue.c
> index 3e4041454f69..6186454dff51 100644
> --- a/drivers/soc/ti/knav_qmss_queue.c
> +++ b/drivers/soc/ti/knav_qmss_queue.c
> @@ -509,7 +509,7 @@ static int knav_queue_flush(struct knav_queue *qh)
>  /**
>   * knav_queue_open()	- open a hardware queue
>   * @name:		- name to give the queue handle
> - * @id:			- desired queue number if any or specifes the type
> + * @id:			- desired queue number if any or specifies the type
>   *			  of queue
>   * @flags:		- the following flags are applicable to queues:
>   *	KNAV_QUEUE_SHARED - allow the queue to be shared. Queues are
> @@ -805,7 +805,7 @@ void *knav_pool_create(const char *name,
>  	}
>  
>  	/* Region maintains a sorted (by region offset) list of pools
> -	 * use the first free slot which is large enough to accomodate
> +	 * use the first free slot which is large enough to accommodate
>  	 * the request
>  	 */
>  	last_offset = 0;