projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de9c9f8
)
Add missing module license tag to vring helpers.
author
Dave Jones
<davej@redhat.com>
Fri, 3 May 2013 20:40:09 +0000
(16:40 -0400)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 8 May 2013 01:19:03 +0000
(10:49 +0930)
[ 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>
drivers/vhost/vringh.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/vringh.c
b/drivers/vhost/vringh.c
index bff0775e258c9ce30b1615e38492fa123eb49f8a..5174ebac288d65e70f31c13867e44aa98cc18ff4 100644
(file)
--- 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");