lkml.org 
[lkml]   [2005]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Multiple MODULE_AUTHOR statements
On Sat, 29 Oct 2005 15:01:13 +0200 Marcel Holtmann wrote:

> Hi guys,
>
> I saw some people adding multiple MODULE_AUTHOR statements to their
> drivers if they wanna mention more than one author. I normally used a
> comma separated list. Is it valid to use multiple statements? If yes,
> then I will change my drivers to use the same approach.

It works. I.e., modinfo will list multiple MODULE_AUTHOR entries.
MODULE_AUTHOR() just creates a special data section, nothing magic
about it. Several are allowed (in general).

However, include/linux/module.h says:
/* Author, ideally of form NAME <EMAIL>[, NAME <EMAIL>]*[ and NAME <EMAIL>] */
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)

so someone thought that they should all be listed together (in one entry).

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-30 02:58    [W:0.349 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site