[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190418181415.221b5c0a@xps13>
Date: Thu, 18 Apr 2019 18:14:15 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Yue Haibing <yuehaibing@...wei.com>
Cc: <bbrezillon@...nel.org>, <richard@....at>, <dwmw2@...radead.org>,
<computersforpeace@...il.com>, <marek.vasut@...il.com>,
<paul@...pouillou.net>, <linux-kernel@...r.kernel.org>,
<linux-mtd@...ts.infradead.org>
Subject: Re: [PATCH -next] mtd: rawnand: ingenic: Add missing MODULE_*
information
Hi Yue,
Yue Haibing <yuehaibing@...wei.com> wrote on Thu, 4 Apr 2019 18:47:11
+0800:
> From: YueHaibing <yuehaibing@...wei.com>
>
> gcc warning this:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/mtd/nand/raw/ingenic/ingenic_ecc.o
>
> Add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Fixes: 9df5741a577e ("mtd: rawnand: ingenic: Separate top-level and SoC specific code")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
> ---
> drivers/mtd/nand/raw/ingenic/ingenic_ecc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c b/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c
> index 7b07a6a..77e996e 100644
> --- a/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c
> +++ b/drivers/mtd/nand/raw/ingenic/ingenic_ecc.c
> @@ -158,3 +158,8 @@ int ingenic_ecc_probe(struct platform_device *pdev)
> return 0;
> }
> EXPORT_SYMBOL(ingenic_ecc_probe);
> +
> +MODULE_AUTHOR("Alex Smith <alex@...x-smith.me.uk>");
> +MODULE_AUTHOR("Harvey Hunt <harveyhuntnexus@...il.com>");
> +MODULE_DESCRIPTION("Ingenic ECC common driver");
> +MODULE_LICENSE("GPL v2");
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
branch nand/next.
Thanks,
Miquèl
Powered by blists - more mailing lists