[PATCH] module: preferred way to use MODULE_AUTHOR

From: Johannes Berg
Date: Fri Aug 28 2009 - 05:17:05 EST


For the longest time now we've been using multiple
MODULE_AUTHOR() statements when a module has more
than one author, but the comment here disagrees.

Signed-off-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx>
---
include/linux/module.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

--- wireless-testing.orig/include/linux/module.h 2009-08-28 11:12:34.000000000 +0200
+++ wireless-testing/include/linux/module.h 2009-08-28 11:13:52.000000000 +0200
@@ -127,7 +127,10 @@ extern struct module __this_module;
*/
#define MODULE_LICENSE(_license) MODULE_INFO(license, _license)

-/* Author, ideally of form NAME[, NAME]*[ and NAME] */
+/*
+ * 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)

/* What your module does. */


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