From patchwork Wed Jan 22 19:25:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Droneaud X-Patchwork-Id: 313386 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id C63D02C00A7 for ; Thu, 23 Jan 2014 06:26:55 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754670AbaAVT0H (ORCPT ); Wed, 22 Jan 2014 14:26:07 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:50775 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbaAVT0F (ORCPT ); Wed, 22 Jan 2014 14:26:05 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e35:2e9f:6ac0:8e70:5aff:fe2f:2d74]) by smtp2-g21.free.fr (Postfix) with ESMTP id B561C4B01A1; Wed, 22 Jan 2014 20:25:41 +0100 (CET) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.14.7/8.14.7) with ESMTP id s0MJPc4M009844; Wed, 22 Jan 2014 20:25:38 +0100 Received: (from ydroneaud@localhost) by localhost.localdomain (8.14.7/8.14.7/Submit) id s0MJPVNn009843; Wed, 22 Jan 2014 20:25:31 +0100 From: Yann Droneaud To: Alexander Smirnov , Dmitry Eremin-Solenikov , Marcel Holtmann , Gustavo Padovan , Johan Hedberg , "David S. Miller" Cc: Yann Droneaud , linux-zigbee-devel@lists.sourceforge.net, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jukka Rissanen , Alexander Aring Subject: [PATCH] 6lowpan: add a license to 6lowpan_iphc module Date: Wed, 22 Jan 2014 20:25:24 +0100 Message-Id: <1390418724-9804-1-git-send-email-ydroneaud@opteya.com> X-Mailer: git-send-email 1.8.4.2 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- 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");