summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-05-03 16:40:09 -0400
committerRusty Russell <rusty@rustcorp.com.au>2013-05-08 10:49:03 +0930
commitf558a845c3a043d032bb247cdbe50db9202476a1 (patch)
tree044e119d65eb3501280f6209f0678622f78d94b8
parentde9c9f86be0dc3495de98dc65c80abe6e7c7d643 (diff)
downloadblackbird-op-linux-f558a845c3a043d032bb247cdbe50db9202476a1.tar.gz
blackbird-op-linux-f558a845c3a043d032bb247cdbe50db9202476a1.zip
Add missing module license tag to vring helpers.
[ 624.286653] vringh: module license 'unspecified' taints kernel. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/vhost/vringh.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c
index bff0775e258c..5174ebac288d 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");
OpenPOWER on IntegriCloud