* [PATCH] media: mc-request.c: Fix comment typo
@ 2022-07-15 5:16 Jason Wang
2022-07-18 21:56 ` Sakari Ailus
0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2022-07-15 5:16 UTC (permalink / raw)
To: mchehab
Cc: sakari.ailus, laurent.pinchart, linux-media, linux-kernel, Jason Wang
The double `that' is duplicated in line 162, remove one.
Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
drivers/media/mc/mc-request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/mc/mc-request.c b/drivers/media/mc/mc-request.c
index addb8f2d8939..752ea0bc804b 100644
--- a/drivers/media/mc/mc-request.c
+++ b/drivers/media/mc/mc-request.c
@@ -159,7 +159,7 @@ static long media_request_ioctl_queue(struct media_request *req)
* state can only happen if either the driver changes the state or if
* the user cancels the vb2 queue. The driver can only change the state
* after each object is queued through the req_queue op (and note that
- * that op cannot fail), so setting the state to QUEUED up front is
+ * op cannot fail), so setting the state to QUEUED up front is
* safe.
*
* The other reason for changing the state is if the vb2 queue is
--
2.35.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] media: mc-request.c: Fix comment typo
2022-07-15 5:16 [PATCH] media: mc-request.c: Fix comment typo Jason Wang
@ 2022-07-18 21:56 ` Sakari Ailus
0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2022-07-18 21:56 UTC (permalink / raw)
To: Jason Wang; +Cc: mchehab, laurent.pinchart, linux-media, linux-kernel
Hi Jason,
On Fri, Jul 15, 2022 at 01:16:46PM +0800, Jason Wang wrote:
> The double `that' is duplicated in line 162, remove one.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
> drivers/media/mc/mc-request.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/mc/mc-request.c b/drivers/media/mc/mc-request.c
> index addb8f2d8939..752ea0bc804b 100644
> --- a/drivers/media/mc/mc-request.c
> +++ b/drivers/media/mc/mc-request.c
> @@ -159,7 +159,7 @@ static long media_request_ioctl_queue(struct media_request *req)
> * state can only happen if either the driver changes the state or if
> * the user cancels the vb2 queue. The driver can only change the state
> * after each object is queued through the req_queue op (and note that
> - * that op cannot fail), so setting the state to QUEUED up front is
In this case, the second "that" is there for a reason.
> + * op cannot fail), so setting the state to QUEUED up front is
> * safe.
> *
> * The other reason for changing the state is if the vb2 queue is
--
Sakari Ailus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-18 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15 5:16 [PATCH] media: mc-request.c: Fix comment typo Jason Wang
2022-07-18 21:56 ` Sakari Ailus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®