Re: [PATCH] spi: spi-mem: spi-nxp-fspi: add module license info

From: Schrempf Frieder
Date: Tue Jan 29 2019 - 03:45:59 EST


On 29.01.19 09:31, Yogesh Narayan Gaur wrote:
> Add MODULE_LICENSE info to fix below warning:
> WARNING: modpost: missing MODULE_LICENSE() in drivers/spi/spi-nxp-fspi.o
>
> Signed-off-by: Yogesh Narayan Gaur <yogeshnarayan.gaur@xxxxxxx>
> ---
> drivers/spi/spi-nxp-fspi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/spi/spi-nxp-fspi.c b/drivers/spi/spi-nxp-fspi.c
> index 0327216ef7aa..90f3d2e4fe5d 100644
> --- a/drivers/spi/spi-nxp-fspi.c
> +++ b/drivers/spi/spi-nxp-fspi.c
> @@ -1103,3 +1103,4 @@ MODULE_AUTHOR("NXP Semiconductor");
> MODULE_AUTHOR("Yogesh Narayan Gaur <yogeshnarayan.gaur@xxxxxxx>");
> MODULE_AUTHOR("Boris Brezillion <bbrezillon@xxxxxxxxxx>");

I just found a typo in Boris' last name when I looked at this diff. The
second 'i' is too much.
The same typo can also be found in the comment header of the file.

> MODULE_AUTHOR("Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>");
> +MODULE_LICENSE("GPL v2");
>