From: Yann Droneaud Date: Wed, 22 Jan 2014 19:25:24 +0000 (+0100) Subject: 6lowpan: add a license to 6lowpan_iphc module X-Git-Tag: v3.14-rc1~94^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ae5e991ee6274cc269dabd536399146be038a0f;p=profile%2Fivi%2Fkernel-x86-ivi.git 6lowpan: add a license to 6lowpan_iphc module Since commit 8df8c56a5abc, 6lowpan_iphc is a module of its own. Unfortunately, it lacks some infrastructure to behave like a good kernel citizen: kernel: 6lowpan_iphc: module license 'unspecified' taints kernel. kernel: Disabling lock debugging due to kernel taint This patch adds the basic MODULE_LICENSE(); with GPL license: the code was copied from net/ieee802154/6lowpan.c which is GPL and the module exports symbol with EXPORT_SYMBOL_GPL();. Cc: Jukka Rissanen Cc: Alexander Aring Cc: Marcel Holtmann Signed-off-by: Yann Droneaud Acked-by: Marcel Holtmann Signed-off-by: David S. Miller --- diff --git a/net/ieee802154/6lowpan_iphc.c b/net/ieee802154/6lowpan_iphc.c index 11840f9..083f905 100644 --- a/net/ieee802154/6lowpan_iphc.c +++ b/net/ieee802154/6lowpan_iphc.c @@ -52,6 +52,7 @@ #include #include +#include #include #include #include @@ -797,3 +798,5 @@ int lowpan_header_compress(struct sk_buff *skb, struct net_device *dev, return 0; } EXPORT_SYMBOL_GPL(lowpan_header_compress); + +MODULE_LICENSE("GPL");