Skip to content

Commit

Permalink
Add missing module license tag to vring helpers.
Browse files Browse the repository at this point in the history
[  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>
  • Loading branch information
Dave Jones authored and Rusty Russell committed May 8, 2013
1 parent de9c9f8 commit f558a84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/vhost/vringh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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");

0 comments on commit f558a84

Please sign in to comment.