2021-03-23 09:23:33

by Colin King

[permalink] [raw]
Subject: [PATCH][next] media: imx-jpeg: Fix spelling mistake "Canot" -> "Cannot"

From: Colin Ian King <[email protected]>

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

Signed-off-by: Colin Ian King <[email protected]>
---
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


2021-03-27 14:31:59

by Mirela Rabulea

[permalink] [raw]
Subject: Re: [EXT] [PATCH][next] media: imx-jpeg: Fix spelling mistake "Canot" -> "Cannot"

Hi,

On Tue, 2021-03-23 at 09:21 +0000, Colin King wrote:
>
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a dev_err message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> 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 <[email protected]>

Regards,
Mirela