media: allegro: fix spelling mistake "to" -> "too"
diff mbox series

Message ID 20200123010643.2834801-1-colin.king@canonical.com
State New
Headers show
Series
  • media: allegro: fix spelling mistake "to" -> "too"
Related show

Commit Message

Colin King Jan. 23, 2020, 1:06 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in a v4l2_err message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/staging/media/allegro-dvt/allegro-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tretter Jan. 24, 2020, 1:03 p.m. UTC | #1
On Thu, 23 Jan 2020 01:06:43 +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in a v4l2_err message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Michael Tretter <m.tretter@pengutronix.de>

> ---
>  drivers/staging/media/allegro-dvt/allegro-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/media/allegro-dvt/allegro-core.c b/drivers/staging/media/allegro-dvt/allegro-core.c
> index 3be41698df4c..9908d851d4be 100644
> --- a/drivers/staging/media/allegro-dvt/allegro-core.c
> +++ b/drivers/staging/media/allegro-dvt/allegro-core.c
> @@ -781,7 +781,7 @@ static int allegro_mbox_write(struct allegro_dev *dev,
>  
>  	if (size > mbox->size) {
>  		v4l2_err(&dev->v4l2_dev,
> -			 "message (%zu bytes) to large for mailbox (%zu bytes)\n",
> +			 "message (%zu bytes) too large for mailbox (%zu bytes)\n",
>  			 size, mbox->size);
>  		return -EINVAL;
>  	}

Patch
diff mbox series

diff --git a/drivers/staging/media/allegro-dvt/allegro-core.c b/drivers/staging/media/allegro-dvt/allegro-core.c
index 3be41698df4c..9908d851d4be 100644
--- a/drivers/staging/media/allegro-dvt/allegro-core.c
+++ b/drivers/staging/media/allegro-dvt/allegro-core.c
@@ -781,7 +781,7 @@  static int allegro_mbox_write(struct allegro_dev *dev,
 
 	if (size > mbox->size) {
 		v4l2_err(&dev->v4l2_dev,
-			 "message (%zu bytes) to large for mailbox (%zu bytes)\n",
+			 "message (%zu bytes) too large for mailbox (%zu bytes)\n",
 			 size, mbox->size);
 		return -EINVAL;
 	}