linux-kernel-mentees.lists.linuxfoundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: media/atomisp/pci/runtime/queue/src: Fix spelling mistakes in queue.c
@ 2023-12-23  7:11 Dipendra Khadka
  2023-12-31  9:49 ` Hans de Goede
  0 siblings, 1 reply; 2+ messages in thread
From: Dipendra Khadka @ 2023-12-23  7:11 UTC (permalink / raw)
  To: hdegoede, mchehab, sakari.ailus, gregkh, hpa
  Cc: Dipendra Khadka, linux-media, linux-staging, linux-kernel,
	linux-kernel-mentees

codespell reported following spelling mistake
in queue.c as below:

'''
./runtime/queue/src/queue.c:126: uncessary ==> unnecessary
./runtime/queue/src/queue.c:183: uncessary ==> unnecessary
'''
This patch fixes these spelling mistakes.

Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>
---
 drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c b/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
index 2f1c2df59f71..2c6c8fffc4e2 100644
--- a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
+++ b/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
@@ -123,7 +123,7 @@ int ia_css_queue_enqueue(ia_css_queue_t *qhandle, uint32_t item)
 
 		/* c. Store the queue object */
 		/* Set only fields requiring update with
-		 * valid value. Avoids uncessary calls
+		 * valid value. Avoids unnecessary calls
 		 * to load/store functions
 		 */
 		ignore_desc_flags = QUEUE_IGNORE_SIZE_START_STEP_FLAGS;
@@ -180,7 +180,7 @@ int ia_css_queue_dequeue(ia_css_queue_t *qhandle, uint32_t *item)
 
 		/* c. Store the queue object */
 		/* Set only fields requiring update with
-		 * valid value. Avoids uncessary calls
+		 * valid value. Avoids unnecessary calls
 		 * to load/store functions
 		 */
 		ignore_desc_flags = QUEUE_IGNORE_SIZE_END_STEP_FLAGS;
-- 
2.39.2 (Apple Git-143)


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: media/atomisp/pci/runtime/queue/src: Fix spelling mistakes in queue.c
  2023-12-23  7:11 [PATCH] staging: media/atomisp/pci/runtime/queue/src: Fix spelling mistakes in queue.c Dipendra Khadka
@ 2023-12-31  9:49 ` Hans de Goede
  0 siblings, 0 replies; 2+ messages in thread
From: Hans de Goede @ 2023-12-31  9:49 UTC (permalink / raw)
  To: Dipendra Khadka, mchehab, sakari.ailus, gregkh, hpa
  Cc: linux-media, linux-staging, linux-kernel, linux-kernel-mentees

Hi,

On 12/23/23 08:11, Dipendra Khadka wrote:
> codespell reported following spelling mistake
> in queue.c as below:
> 
> '''
> ./runtime/queue/src/queue.c:126: uncessary ==> unnecessary
> ./runtime/queue/src/queue.c:183: uncessary ==> unnecessary
> '''
> This patch fixes these spelling mistakes.
> 
> Signed-off-by: Dipendra Khadka <kdipendra88@gmail.com>

Thank you for your patch.

I have merged this in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this patch will be included in my next
pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans



> ---
>  drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c b/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
> index 2f1c2df59f71..2c6c8fffc4e2 100644
> --- a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
> +++ b/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
> @@ -123,7 +123,7 @@ int ia_css_queue_enqueue(ia_css_queue_t *qhandle, uint32_t item)
>  
>  		/* c. Store the queue object */
>  		/* Set only fields requiring update with
> -		 * valid value. Avoids uncessary calls
> +		 * valid value. Avoids unnecessary calls
>  		 * to load/store functions
>  		 */
>  		ignore_desc_flags = QUEUE_IGNORE_SIZE_START_STEP_FLAGS;
> @@ -180,7 +180,7 @@ int ia_css_queue_dequeue(ia_css_queue_t *qhandle, uint32_t *item)
>  
>  		/* c. Store the queue object */
>  		/* Set only fields requiring update with
> -		 * valid value. Avoids uncessary calls
> +		 * valid value. Avoids unnecessary calls
>  		 * to load/store functions
>  		 */
>  		ignore_desc_flags = QUEUE_IGNORE_SIZE_END_STEP_FLAGS;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-31  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-23  7:11 [PATCH] staging: media/atomisp/pci/runtime/queue/src: Fix spelling mistakes in queue.c Dipendra Khadka
2023-12-31  9:49 ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).