public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm: external module: fix anon_inode build for 2.6.26
@ 2008-07-19  5:22 Alex Williamson
  2008-07-19  7:19 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Williamson @ 2008-07-19  5:22 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm: external module: fix anon_inode build for 2.6.26
  2008-07-19  5:22 [PATCH] kvm: external module: fix anon_inode build for 2.6.26 Alex Williamson
@ 2008-07-19  7:19 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-07-19  7:19 UTC (permalink / raw)
  To: Alex Williamson; +Cc: kvm-devel

Alex Williamson wrote:
> 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,
>
>   

Applied, thanks.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-19  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  5:22 [PATCH] kvm: external module: fix anon_inode build for 2.6.26 Alex Williamson
2008-07-19  7:19 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox