Skip to contentSkip to conversation

soc: ti: knav_qmss_queue: Fix typos in comments

PATCH Superseded Hemanth Selam 2 participants 2 messages Sep 10 TI Keystone multicore navigator drivers

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 soc: ti: knav_qmss_queue: Fix typos in comments

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

---
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/[email protected]/

 drivers/soc/ti/knav_qmss_queue.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soc/ti/knav_qmss_queue.c +2 -2
index 3e4041454f69..6186454dff51 100644
@@ -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;
Signature · 1 line
2.48.1
#1 lore raw
Quoted 9 lines · Hemanth Selam

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

---
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

Quoted 34 lines

- 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/[email protected]/

 drivers/soc/ti/knav_qmss_queue.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/soc/ti/knav_qmss_queue.c +2 -2
index 3e4041454f69..6186454dff51 100644
@@ -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;