[PATCH] SNAPPY: Add dual GPL/BSD license to snappy module

From: Andi Kleen
Date: Sun Jan 15 2012 - 17:49:27 EST


From: Andi Kleen <ak@xxxxxxxxxxxxxxx>

To avoid complaints from the module loader.

I made it dual because the original compression code was BSD.

Reported-by: Chris Mason
Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx>
---
lib/snappy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/snappy.c b/lib/snappy.c
index 0b39e07..3848c6c 100644
--- a/lib/snappy.c
+++ b/lib/snappy.c
@@ -1298,3 +1298,5 @@ void snappy_free_env(struct snappy_env *env)
memset(env, 0, sizeof(struct snappy_env));
}
EXPORT_SYMBOL(snappy_free_env);
+
+MODULE_LICENSE("Dual BSD/GPL");
--
1.7.7.4

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