Commit f558a845 authored by Dave Jones's avatar Dave Jones Committed by Rusty Russell

Add missing module license tag to vring helpers.

[  624.286653] vringh: module license 'unspecified' taints kernel.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent de9c9f86
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* *
* Since these may be in userspace, we use (inline) accessors. * Since these may be in userspace, we use (inline) accessors.
*/ */
#include <linux/module.h>
#include <linux/vringh.h> #include <linux/vringh.h>
#include <linux/virtio_ring.h> #include <linux/virtio_ring.h>
#include <linux/kernel.h> #include <linux/kernel.h>
...@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh) ...@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh)
return __vringh_need_notify(vrh, getu16_kern); return __vringh_need_notify(vrh, getu16_kern);
} }
EXPORT_SYMBOL(vringh_need_notify_kern); EXPORT_SYMBOL(vringh_need_notify_kern);
MODULE_LICENSE("GPL");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment