Skip to contentSkip to conversation

Multiple MODULE_AUTHOR statements

DISCUSSION Marcel Holtmann 2 participants 2 messages Oct 29, 2005 – Oct 30, 2005

lore
Share & tools
lore
#0 lore raw

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.

Regards

Marcel

#1 lore raw
Quoted 6 lines · 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