linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add missing module license tag to vring helpers.
@ 2013-05-03 20:40 Dave Jones
  2013-05-06  7:36 ` Rusty Russell
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2013-05-03 20:40 UTC (permalink / raw)
  To: Linux Kernel; +Cc: rusty, mst

[  624.286653] vringh: module license 'unspecified' taints kernel.

Signed-off-by: Dave Jones <davej@redhat.com>

diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c
index bff0775..5174eba 100644
--- a/drivers/vhost/vringh.c
+++ b/drivers/vhost/vringh.c
@@ -3,6 +3,7 @@
  *
  * Since these may be in userspace, we use (inline) accessors.
  */
+#include <linux/module.h>
 #include <linux/vringh.h>
 #include <linux/virtio_ring.h>
 #include <linux/kernel.h>
@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh)
 	return __vringh_need_notify(vrh, getu16_kern);
 }
 EXPORT_SYMBOL(vringh_need_notify_kern);
+
+MODULE_LICENSE("GPL");

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-07 12:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-03 20:40 Add missing module license tag to vring helpers Dave Jones
2013-05-06  7:36 ` Rusty Russell
2013-05-06 13:41   ` Dave Jones
2013-05-07 11:59     ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).