[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e99ad542-14f6-2a06-a83e-c5f4e945303c@infradead.org>
Date: Sat, 4 Dec 2021 12:57:32 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Gabriel Somlo <gsomlo@...il.com>, linux-kernel@...r.kernel.org
Cc: robh+dt@...nel.org, devicetree@...r.kernel.org,
ulf.hansson@...aro.org, linux-mmc@...r.kernel.org,
kgugala@...micro.com, mholenko@...micro.com, krakoczy@...micro.com,
mdudek@...ernships.antmicro.com, paulus@...abs.org, joel@....id.au,
shorne@...il.com, geert@...ux-m68k.org,
david.abdurachmanov@...ive.com, florent@...oy-digital.fr
Subject: Re: [PATCH v2 3/3] mmc: Add driver for LiteX's LiteSDCard interface
Hi Gabriel--
On 12/4/21 12:41, Gabriel Somlo wrote:
> +MODULE_DESCRIPTION("LiteX SDCard driver");
> +MODULE_AUTHOR("Antmicro <www.antmicro.com>");
Admittedly it's not documented, but we would prefer to have some contact info
in MODULE_AUTHOR(), like an email address or a person's name.
<linux/module.h> says:
/*
* Author(s), use "Name <email>" or just "Name", for multiple
* authors use multiple MODULE_AUTHOR() statements/lines.
*/
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
> +MODULE_LICENSE("GPL v2");
Also, it's up to the MMC maintainer (Ulf), but the function signature
style that is used in this driver is not the preferred style.
E.g.:
+static int
+litex_set_bus_width(struct litex_mmc_host *host)
+{
should be
+static int litex_set_bus_width(struct litex_mmc_host *host)
+{
thanks.
--
~Randy
Powered by blists - more mailing lists