Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753471AbeAKAjW (ORCPT + 1 other); Wed, 10 Jan 2018 19:39:22 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:38455 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752839AbeAKAjU (ORCPT ); Wed, 10 Jan 2018 19:39:20 -0500 X-Google-Smtp-Source: ACJfBou+77UdVvy8OWn91XfLRfDvVtQWhR2O3ElqkQ1n8A9I74s486j8kx0GC/Jw/axFaEvqolUc3g== Date: Wed, 10 Jan 2018 16:39:18 -0800 From: Stephen Hemminger To: Arnd Bergmann Cc: Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , Jesse Chan , "David S. Miller" , Juergen Gross , Stefano Stabellini , Boris Ostrovsky , Wei Yongjun , Tuomas Tynkkynen , v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net/9p: trans_xen: add missing MODULE_AUTHOR/DESCRIPTION/LICENSE Message-ID: <20180110163918.11e1202d@xeon-e3> In-Reply-To: <20180110163812.687838-1-arnd@arndb.de> References: <20180110163812.687838-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, 10 Jan 2018 17:37:47 +0100 Arnd Bergmann wrote: > From: Jesse Chan > > This change resolves a new compile-time warning > when built as a loadable module: > > WARNING: modpost: missing MODULE_LICENSE() in net/9p/9pnet_xen.o > see include/linux/module.h for more information > > This adds the license as "Dual MIT/GPL", which matches the header of the file. > > MODULE_DESCRIPTION and MODULE_AUTHOR are also added. > > Signed-off-by: Jesse Chan > Signed-off-by: Arnd Bergmann > --- > net/9p/trans_xen.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c > index 325c56043007..336576f7e9f1 100644 > --- a/net/9p/trans_xen.c > +++ b/net/9p/trans_xen.c > @@ -543,3 +543,7 @@ static void p9_trans_xen_exit(void) > return xenbus_unregister_driver(&xen_9pfs_front_driver); > } > module_exit(p9_trans_xen_exit); > + > +MODULE_AUTHOR("Stefano Stabellini "); > +MODULE_DESCRIPTION("Xen Transport for 9P"); > +MODULE_LICENSE("Dual MIT/GPL"); I already submitted: https://patchwork.ozlabs.org/patch/856908/