From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH]arch:x86:kvm:i8254.h Fix typo in kvm_pit Date: Wed, 30 Mar 2011 18:26:52 +0200 Message-ID: <4D9359CC.6050508@redhat.com> References: <1301501942-3937-1-git-send-email-justinmattock@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: trivial@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: "Justin P. Mattock" Return-path: In-Reply-To: <1301501942-3937-1-git-send-email-justinmattock@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 03/30/2011 06:19 PM, Justin P. Mattock wrote: > The below patch changes base_addresss to base_address. > Note: I have grepped for base_addresss and nothing shows up, > grepping for base_address gets me lots of output, telling me that > this is a typo, but could be wrong. > > Signed-off-by: Justin P. Mattock > > --- > arch/x86/kvm/i8254.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/x86/kvm/i8254.h b/arch/x86/kvm/i8254.h > index 46d08ca..c2fa48b 100644 > --- a/arch/x86/kvm/i8254.h > +++ b/arch/x86/kvm/i8254.h > @@ -33,7 +33,7 @@ struct kvm_kpit_state { > }; > > struct kvm_pit { > - unsigned long base_addresss; > + unsigned long base_address; > struct kvm_io_device dev; > struct kvm_io_device speaker_dev; > struct kvm *kvm; Why not remove the variable completely? -- error compiling committee.c: too many arguments to function