diff mbox series

[next] media: imx-jpeg: Fix spelling mistake "Canot" -> "Cannot"

Message ID 20210323092141.231744-1-colin.king@canonical.com
State Accepted
Commit 033fc896617a5ba8277e62ffae0d79e016fa3359
Headers show
Series [next] media: imx-jpeg: Fix spelling mistake "Canot" -> "Cannot" | expand

Commit Message

Colin King March 23, 2021, 9:21 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/media/platform/imx-jpeg/mxc-jpeg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mirela Rabulea March 27, 2021, 2:29 p.m. UTC | #1
Hi,

On Tue, 2021-03-23 at 09:21 +0000, Colin King wrote:
> 

> From: Colin Ian King <colin.king@canonical.com>

> 

> There is a spelling mistake in a dev_err message. Fix it.

> 

> Signed-off-by: Colin Ian King <colin.king@canonical.com>

> ---

>  drivers/media/platform/imx-jpeg/mxc-jpeg.c | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/drivers/media/platform/imx-jpeg/mxc-jpeg.c

> b/drivers/media/platform/imx-jpeg/mxc-jpeg.c

> index 2d29558f1864..adb1715c75d7 100644

> --- a/drivers/media/platform/imx-jpeg/mxc-jpeg.c

> +++ b/drivers/media/platform/imx-jpeg/mxc-jpeg.c

> @@ -947,7 +947,7 @@ static void mxc_jpeg_device_run(void *priv)

>                 goto end;

>         }

>         if (!mxc_jpeg_alloc_slot_data(jpeg, ctx->slot)) {

> -               dev_err(dev, "Canot allocate slot data\n");

> +               dev_err(dev, "Cannot allocate slot data\n");

>                 goto end;

>         }

> 

> --

> 2.30.2

> 


This could be squashed into your other patch (Pass the v4l2_jpeg_header
header argument by reference), since it's just a typo.
Either way,
Reviewed-by: Mirela Rabulea <mirela.rabulea@nxp.com>


Regards,
Mirela
diff mbox series

Patch

diff --git a/drivers/media/platform/imx-jpeg/mxc-jpeg.c b/drivers/media/platform/imx-jpeg/mxc-jpeg.c
index 2d29558f1864..adb1715c75d7 100644
--- a/drivers/media/platform/imx-jpeg/mxc-jpeg.c
+++ b/drivers/media/platform/imx-jpeg/mxc-jpeg.c
@@ -947,7 +947,7 @@  static void mxc_jpeg_device_run(void *priv)
 		goto end;
 	}
 	if (!mxc_jpeg_alloc_slot_data(jpeg, ctx->slot)) {
-		dev_err(dev, "Canot allocate slot data\n");
+		dev_err(dev, "Cannot allocate slot data\n");
 		goto end;
 	}