From: Rene Herman <rene.herman@gmail.com>
To: "Robert P. J. Day" <rpjday@mindspring.com>,
Andrew Morton <akpm@osdl.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
Alan Cox <alan@lxorguk.ukuu.org.uk>, Adrian Bunk <bunk@stusta.de>,
Marcel Holtmann <marcel@holtmann.org>,
Christoph Hellwig <hch@infradead.org>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: MODULE_MAINTAINER
Date: Mon, 23 Apr 2007 14:32:36 +0200 [thread overview]
Message-ID: <462CA764.5080401@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0704230748270.25463@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1776 bytes --]
On 04/23/2007 01:52 PM, Robert P. J. Day wrote:
> On Mon, 23 Apr 2007, Rusty Russell wrote:
>> Valid points have been made on both sides. I suggest:
>>
>> #define MODULE_MAINTAINER(_maintainer) \
>> MODULE_AUTHOR("(Maintained by) "_maintainer)
>
> why bring MODULE_AUTHOR into it? just define it in terms of
> MODULE_INFO:
>
> #define MODULE_MAINTAINER(_m) MODULE_INFO(_m, "(Maintained by)" \
> maintainer)
>
> technically, the maintainer is not the same as the author so why
> confuse the issue with an extra unnecessary macro expansion?
Swap arguments to MODULE_INFO, but yes, other than the extra "(Maintained
by)" that's what was originally submitted:
http://lkml.org/lkml/2007/4/4/170
If you're going to be using a "maintainer" tag anyway as both that and yours
above does, the "(Maintained by)" becomes superfluous, so we're back at the
original.
I must say I'm not particularly sure either why reusing MODULE_AUTHOR would
be better if MODULE_AUTHOR also remains (as Alan Cox pointed out might be
desirable for legal reasons if nothing else). As fas as I'm aware, the other
trivial patch I posted to init-module-tools:
http://lkml.org/lkml/2007/4/4/171
is all that's needed to make it useful.
But, I also really only care about being able to add MODULE_MAINTAINER() to
some drivers that have outlived their authors and from that viewpoint there
is no difference, so if Rusty feels this is better, so be it.
Andrew, mind if I submit this to you?
===
Provide MODULE_MAINTAINER() as a convenient place to stick a name and email
address both for drivers having multiple (current and non-current) authors
and for when someone who wants to maintain a driver isn't so much an author.
Signed-off-by: Rene Herman <rene.herman@gmail.com>
===
Rene.
[-- Attachment #2: module_maintainer2.diff --]
[-- Type: text/plain, Size: 603 bytes --]
diff --git a/include/linux/module.h b/include/linux/module.h
index 10f771a..3c54774 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -128,6 +128,10 @@ extern struct module __this_module;
/* Author, ideally of form NAME <EMAIL>[, NAME <EMAIL>]*[ and NAME <EMAIL>] */
#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author)
+/* Maintainer, ideally of form NAME <EMAIL> */
+#define MODULE_MAINTAINER(_maintainer) \
+ MODULE_AUTHOR("(Maintained by) "_maintainer)
+
/* What your module does. */
#define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
next prev parent reply other threads:[~2007-04-23 12:35 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-04 11:26 MODULE_MAINTAINER Rene Herman
2007-04-04 11:29 ` MODULE_MAINTAINER Rene Herman
2007-04-04 12:33 ` MODULE_MAINTAINER Christoph Hellwig
2007-04-04 13:02 ` MODULE_MAINTAINER Rene Herman
2007-04-04 14:57 ` MODULE_MAINTAINER Adrian Bunk
2007-04-04 16:33 ` MODULE_MAINTAINER Stefan Richter
2007-04-04 16:38 ` MODULE_MAINTAINER Adrian Bunk
2007-04-04 16:45 ` MODULE_MAINTAINER Stefan Richter
2007-04-04 14:48 ` MODULE_MAINTAINER Marcel Holtmann
2007-04-04 15:02 ` MODULE_MAINTAINER Adrian Bunk
2007-04-04 15:50 ` MODULE_MAINTAINER Rene Herman
2007-04-04 16:00 ` MODULE_MAINTAINER Alan Cox
2007-04-04 16:06 ` MODULE_MAINTAINER Marcel Holtmann
2007-04-04 16:38 ` MODULE_MAINTAINER Rene Herman
2007-04-04 17:00 ` MODULE_MAINTAINER Takashi Iwai
2007-04-04 17:48 ` MODULE_MAINTAINER Adrian Bunk
2007-04-04 18:01 ` MODULE_MAINTAINER Rene Herman
2007-04-04 19:12 ` MODULE_MAINTAINER Adrian Bunk
2007-04-05 0:08 ` MODULE_MAINTAINER Stefan Richter
2007-04-23 9:33 ` MODULE_MAINTAINER Rene Herman
2007-04-23 11:24 ` MODULE_MAINTAINER Rusty Russell
2007-04-23 11:52 ` MODULE_MAINTAINER Robert P. J. Day
2007-04-23 12:00 ` MODULE_MAINTAINER Robert P. J. Day
2007-04-23 12:32 ` Rene Herman [this message]
2007-04-26 1:18 ` MODULE_MAINTAINER Andrew Morton
2007-04-26 10:03 ` MODULE_MAINTAINER Rusty Russell
2007-04-26 10:41 ` MODULE_MAINTAINER Rene Herman
2007-04-26 13:54 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 14:55 ` MODULE_MAINTAINER Rene Herman
2007-04-26 16:00 ` MODULE_MAINTAINER Alan Cox
2007-04-26 16:45 ` MODULE_MAINTAINER Rene Herman
2007-04-26 15:41 ` MODULE_MAINTAINER Randy Dunlap
2007-04-26 15:52 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 16:44 ` MODULE_MAINTAINER Randy Dunlap
2007-04-26 17:12 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 19:37 ` MODULE_MAINTAINER Krzysztof Halasa
2007-04-26 19:43 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 20:02 ` MODULE_MAINTAINER Krzysztof Halasa
2007-04-26 20:24 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 21:51 ` MODULE_MAINTAINER Krzysztof Halasa
2007-04-26 22:01 ` MODULE_MAINTAINER Adrian Bunk
2007-04-26 22:07 ` MODULE_MAINTAINER Krzysztof Halasa
2007-04-26 22:28 ` MODULE_MAINTAINER Rene Herman
2007-04-26 20:11 ` MODULE_MAINTAINER Rene Herman
2007-04-26 22:24 ` MODULE_MAINTAINER Gene Heskett
2007-04-27 9:06 ` MODULE_MAINTAINER Stefan Richter
2007-04-26 22:03 ` MODULE_MAINTAINER Rene Herman
2007-04-27 21:06 ` MODULE_MAINTAINER Rene Herman
2007-04-28 21:03 ` MODULE_MAINTAINER Krzysztof Halasa
2007-04-23 23:46 ` MODULE_MAINTAINER Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=462CA764.5080401@gmail.com \
--to=rene.herman@gmail.com \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bunk@stusta.de \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=rpjday@mindspring.com \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.