* [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
@ 2011-12-24 5:22 Yang Bai
2011-12-24 5:26 ` Yang Bai
0 siblings, 1 reply; 4+ messages in thread
From: Yang Bai @ 2011-12-24 5:22 UTC (permalink / raw)
To: avi, mtosatti; +Cc: kvm, linux-kernel
commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
assignment permission but forgot to include thedefinition of
MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
error here:http://buildbot.b1-systems.de/kvm/builders/i386/builds/401
Signed-off-by: Yang Bai <hamo.by@gmail.com>--- virt/kvm/assigned-dev.c
| 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/virt/kvm/assigned-dev.c b/virt/kvm/assigned-dev.cindex
da9690e..1d9dad0 100644--- a/virt/kvm/assigned-dev.c+++
b/virt/kvm/assigned-dev.c@@ -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,-- 1.7.7.3
--
"""
Keep It Simple,Stupid.
"""
Chinese Name: 白杨
Nick Name: Hamo
Homepage: http://hamobai.com/
GPG KEY ID: 0xA4691A33
Key fingerprint = 09D5 2D78 8E2B 0995 CF8E 4331 33C4 3D24 A469 1A33
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
2011-12-24 5:22 Yang Bai
@ 2011-12-24 5:26 ` Yang Bai
0 siblings, 0 replies; 4+ messages in thread
From: Yang Bai @ 2011-12-24 5:26 UTC (permalink / raw)
To: avi, mtosatti; +Cc: kvm, linux-kernel
On Sat, Dec 24, 2011 at 1:22 PM, Yang Bai <hamo.by@gmail.com> wrote:
> commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checksdevice
> assignment permission but forgot to include thedefinition of
> MAY_{READ,WRITE,ACCESS} in linux/fs.hInclude it and this fix the build
> error here:http://buildbot.b1-systems.de/kvm/builders/i386/builds/401
> Signed-off-by: Yang Bai <hamo.by@gmail.com>--- virt/kvm/assigned-dev.c
> | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
> diff --git a/virt/kvm/assigned-dev.c b/virt/kvm/assigned-dev.cindex
> da9690e..1d9dad0 100644--- a/virt/kvm/assigned-dev.c+++
> b/virt/kvm/assigned-dev.c@@ -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,-- 1.7.7.3
>
Format wrong. Will resend it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
@ 2011-12-24 5:46 hamo.by
2011-12-25 9:53 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: hamo.by @ 2011-12-24 5:46 UTC (permalink / raw)
To: avi, mtosatti; +Cc: hamo.by, kvm, linux-kernel
From: Yang Bai <hamo.by@gmail.com>
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
Signed-off-by: Yang Bai <hamo.by@gmail.com>
---
virt/kvm/assigned-dev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/virt/kvm/assigned-dev.c b/virt/kvm/assigned-dev.c
index da9690e..1d9dad0 100644
--- a/virt/kvm/assigned-dev.c
+++ b/virt/kvm/assigned-dev.c
@@ -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,
--
1.7.7.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
2011-12-24 5:46 [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS} hamo.by
@ 2011-12-25 9:53 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2011-12-25 9:53 UTC (permalink / raw)
To: hamo.by; +Cc: mtosatti, kvm, linux-kernel
On 12/24/2011 07:46 AM, hamo.by@gmail.com wrote:
> From: Yang Bai <hamo.by@gmail.com>
>
> 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.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-12-25 9:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-24 5:46 [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS} hamo.by
2011-12-25 9:53 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2011-12-24 5:22 Yang Bai
2011-12-24 5:26 ` Yang Bai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).