Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dave Jones and committed by
Rusty Russell
f558a845 de9c9f86

+3
+3
drivers/vhost/vringh.c
··· 3 3 * 4 4 * Since these may be in userspace, we use (inline) accessors. 5 5 */ 6 + #include <linux/module.h> 6 7 #include <linux/vringh.h> 7 8 #include <linux/virtio_ring.h> 8 9 #include <linux/kernel.h> ··· 1006 1005 return __vringh_need_notify(vrh, getu16_kern); 1007 1006 } 1008 1007 EXPORT_SYMBOL(vringh_need_notify_kern); 1008 + 1009 + MODULE_LICENSE("GPL");