Skip to content

Commit f558a84

Browse files
Dave Jonesrustyrussell
authored andcommitted
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>
1 parent de9c9f8 commit f558a84

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎drivers/vhost/vringh.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*
44
* Since these may be in userspace, we use (inline) accessors.
55
*/
6+
#include <linux/module.h>
67
#include <linux/vringh.h>
78
#include <linux/virtio_ring.h>
89
#include <linux/kernel.h>
@@ -1005,3 +1006,5 @@ int vringh_need_notify_kern(struct vringh *vrh)
10051006
return __vringh_need_notify(vrh, getu16_kern);
10061007
}
10071008
EXPORT_SYMBOL(vringh_need_notify_kern);
1009+
1010+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)