Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756086AbaAVWtG (ORCPT ); Wed, 22 Jan 2014 17:49:06 -0500 Received: from senator.holtmann.net ([87.106.208.187]:45103 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752539AbaAVWtE convert rfc822-to-8bit (ORCPT ); Wed, 22 Jan 2014 17:49:04 -0500 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: [PATCH] 6lowpan: add a license to 6lowpan_iphc module From: Marcel Holtmann In-Reply-To: <1390418724-9804-1-git-send-email-ydroneaud@opteya.com> Date: Wed, 22 Jan 2014 14:49:09 -0800 Cc: Alexander Smirnov , Dmitry Eremin-Solenikov , "Gustavo F. Padovan" , Johan Hedberg , "David S. Miller" , linux-zigbee-devel@lists.sourceforge.net, BlueZ development , Network Development , linux-kernel , Jukka Rissanen , Alexander Aring Content-Transfer-Encoding: 8BIT Message-Id: <54C711A5-F3BA-4327-B070-3DBE884543D1@holtmann.org> References: <1390418724-9804-1-git-send-email-ydroneaud@opteya.com> To: Yann Droneaud X-Mailer: Apple Mail (2.1827) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yann, > 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 > --- > net/ieee802154/6lowpan_iphc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/net/ieee802154/6lowpan_iphc.c b/net/ieee802154/6lowpan_iphc.c > index e14fe8b2c054..860aa2d445ba 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?); looks good to me. Acked-by: Marcel Holtmann Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/