2017-11-13 23:27:28

by Boris Ostrovsky

[permalink] [raw]
Subject: [PATCH] xen/9pfs: Add MODULE_LICENSE()

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 <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
---
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


From 1584062763206418305@xxx Tue Nov 14 17:19:32 +0000 2017
X-GM-THRID: 1582666185603067688
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread