kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: hamo.by@gmail.com
To: avi@redhat.com, mtosatti@redhat.com
Cc: hamo.by@gmail.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}
Date: Sat, 24 Dec 2011 13:46:35 +0800	[thread overview]
Message-ID: <1324705595-4035-1-git-send-email-hamo.by@gmail.com> (raw)

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

             reply	other threads:[~2011-12-24  5:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-24  5:46 hamo.by [this message]
2011-12-25  9:53 ` [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS} 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1324705595-4035-1-git-send-email-hamo.by@gmail.com \
    --to=hamo.by@gmail.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).