[lkml]   [2021]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>");

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)


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.


+static int
+litex_set_bus_width(struct litex_mmc_host *host)

should be

+static int litex_set_bus_width(struct litex_mmc_host *host)


 \ /
  Last update: 2021-12-04 21:58    [W:0.145 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site