Web lists-archives.com

Re: [PATCH] xen/9pfs: Add MODULE_LICENSE()




On Mon, 13 Nov 2017, Boris Ostrovsky wrote:
> Since commit ba1029c9cbc5 ("modpost: detect modules without a
> MODULE_LICENSE") modules without said macro will generate
> 
> WARNING: modpost: missing MODULE_LICENSE() in net/9p/9pnet_xen.o
> 
> Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>

Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>


> ---
>  net/9p/trans_xen.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c
> index 6ad3e04..5c4c662 100644
> --- a/net/9p/trans_xen.c
> +++ b/net/9p/trans_xen.c
> @@ -543,3 +543,4 @@ static void p9_trans_xen_exit(void)
>  	return xenbus_unregister_driver(&xen_9pfs_front_driver);
>  }
>  module_exit(p9_trans_xen_exit);
> +MODULE_LICENSE("GPL");
> -- 
> 1.8.3.1
>