Re: [PATCH v2] module: Clarify usage of MODULE_LICENSE()

From: Arend van Spriel
Date: Mon Apr 09 2012 - 04:05:32 EST


On 04/08/2012 06:46 PM, Luis R. Rodriguez wrote:
include/linux/module.h | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/include/linux/module.h b/include/linux/module.h
index fbcafe2..8d36d86 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
- * This exists for several reasons
+ * The MODULE_LICENSE() exists for several reasons:
+ * 0. So EXPORT_SYMBOL_GPL() allows the module to use its symbols

It seems there is some tab/space mixup here. Also not sure if the above statement is clear or correct. Correct me if I am wrong, but I thought it put a requirement on other modules to be able to use its symbols.

* 1. So modinfo can show license info for users wanting to vet their setup
* is free
* 2. So the community can ignore bug reports including proprietary modules

Gr. AvS

--
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/