public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@hp.com>
To: Avi Kivity <avi@qumranet.com>
Cc: kvm-devel <kvm@vger.kernel.org>
Subject: [PATCH] kvm: external module: fix anon_inode build for 2.6.26
Date: Fri, 18 Jul 2008 23:22:37 -0600	[thread overview]
Message-ID: <1216444957.7643.8.camel@2710p.home> (raw)

Hi Avi,

Commit 330f89ee1c19172b7b0dea739b912afc265bd755 doesn't build on 2.6.26
for some obvious undefined variables.  Looks like a cut-n-paste error.
Patch below.  Thanks,

	Alex

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
--

diff --git a/kernel/anon_inodes.c b/kernel/anon_inodes.c
index 7155b4d..8a602cd 100644
--- a/kernel/anon_inodes.c
+++ b/kernel/anon_inodes.c
@@ -251,7 +251,7 @@ int kvm_anon_inode_getfd(const char *name,
 			 const struct file_operations *fops,
 			 void *priv)
 {
-	return anon_inode_getfd(&fd, &inode, &file, name, fops, priv);
+	return anon_inode_getfd(name, fops, priv);
 }
 
 #endif



             reply	other threads:[~2008-07-19  5:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19  5:22 Alex Williamson [this message]
2008-07-19  7:19 ` [PATCH] kvm: external module: fix anon_inode build for 2.6.26 Avi Kivity

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=1216444957.7643.8.camel@2710p.home \
    --to=alex.williamson@hp.com \
    --cc=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    /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