Skip to contentSkip to conversation

KVM: fix undeclared MAY_{READ,WRITE,ACCESS}

PATCH Applied [email protected] 2 participants 2 messages Dec 24, 2011 – Dec 25, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM: fix undeclared MAY_{READ,WRITE,ACCESS}

From: Yang Bai <[email protected]>

commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checks device assignment permission but forgot to include the definition of MAY_{READ,WRITE,ACCESS} in linux/fs.h Include it and this fix the build error here:
http://buildbot.b1-systems.de/kvm/builders/i386/builds/401

---
 virt/kvm/assigned-dev.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
virt/kvm/assigned-dev.c +1 -0
index da9690e..1d9dad0 100644
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/namei.h>
+#include <linux/fs.h>
 #include "irq.h"
 
 static struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head,
Signature · 1 line
1.7.7.3
Applied
#1 lore raw
Quoted 9 lines · On 12/24/2011 07:46 AM, [email protected] wrote:

From: Yang Bai <[email protected]>

commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checks device assignment permission but forgot to include the definition of MAY_{READ,WRITE,ACCESS} in linux/fs.h Include it and this fix the build error here:
http://buildbot.b1-systems.de/kvm/builders/i386/builds/401

Thanks, applied.

Signature · 1 line
error compiling committee.c: too many arguments to function