2018-08-26 22:15:18

by Colin King

[permalink] [raw]
Subject: [PATCH] fpga: dfl: fme-mgr: fix spelling mistake "Invaild" -> "Invalid"

From: Colin Ian King <[email protected]>

Trivial fix to spelling mistake in dev_err message.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/fpga/dfl-fme-mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fpga/dfl-fme-mgr.c b/drivers/fpga/dfl-fme-mgr.c
index b5ef405b6d88..9f045d058cfd 100644
--- a/drivers/fpga/dfl-fme-mgr.c
+++ b/drivers/fpga/dfl-fme-mgr.c
@@ -201,7 +201,7 @@ static int fme_mgr_write(struct fpga_manager *mgr,
}

if (count < 4) {
- dev_err(dev, "Invaild PR bitstream size\n");
+ dev_err(dev, "Invalid PR bitstream size\n");
return -EINVAL;
}

--
2.17.1



2018-08-26 23:34:29

by Wu Hao

[permalink] [raw]
Subject: Re: [PATCH] fpga: dfl: fme-mgr: fix spelling mistake "Invaild" -> "Invalid"

On Sun, Aug 26, 2018 at 11:13:55PM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> Trivial fix to spelling mistake in dev_err message.

This patch is duplicated. This issue is covered by your previous patch.

https://marc.info/?l=linux-fpga&m=153202583007071&w=2

Thanks
Hao

>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/fpga/dfl-fme-mgr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/fpga/dfl-fme-mgr.c b/drivers/fpga/dfl-fme-mgr.c
> index b5ef405b6d88..9f045d058cfd 100644
> --- a/drivers/fpga/dfl-fme-mgr.c
> +++ b/drivers/fpga/dfl-fme-mgr.c
> @@ -201,7 +201,7 @@ static int fme_mgr_write(struct fpga_manager *mgr,
> }
>
> if (count < 4) {
> - dev_err(dev, "Invaild PR bitstream size\n");
> + dev_err(dev, "Invalid PR bitstream size\n");
> return -EINVAL;
> }
>
> --
> 2.17.1