From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Breeds Date: Thu, 24 Jul 2008 01:43:53 +0000 Subject: Re: [PATCH 2/6] kvmppc: add hypercall infrastructure - host part Message-Id: <20080724014352.GI20457@bakeyournoodle.com> List-Id: References: <1216802207-32675-1-git-send-email-ehrhardt@linux.vnet.ibm.com> <1216802207-32675-3-git-send-email-ehrhardt@linux.vnet.ibm.com> In-Reply-To: <1216802207-32675-3-git-send-email-ehrhardt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ehrhardt@linux.vnet.ibm.com Cc: linuxppc-dev@ozlabs.org, embedded-hypervisor@power.org, hollisb@us.ibm.com, kvm-ppc@vger.kernel.org On Wed, Jul 23, 2008 at 10:36:43AM +0200, ehrhardt@linux.vnet.ibm.com wrote: > From: Christian Ehrhardt Hi Christian, A few comments > diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c > --- a/arch/powerpc/kvm/emulate.c > +++ b/arch/powerpc/kvm/emulate.c > @@ -203,6 +203,24 @@ > kvmppc_set_msr(vcpu, vcpu->arch.srr1); > } > > +static int kvmppc_do_hypercall(struct kvm_vcpu *vcpu) > +{ > + int ret = 0; > + > + switch (vcpu->arch.gpr[0]) { > + default: > + printk(KERN_ERR"unknown hypercall %d\n", vcpu->arch.gpr[0]); I think the preffered style is printk(KERN_ERR "...) You've made the same style mistake in most of you printk()'s in your other patches aswell. Yours Tony linux.conf.au http://www.marchsouth.org/ Jan 19 - 24 2009 The Australian Linux Technical Conference! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pythia.bakeyournoodle.com (pythia.bakeyournoodle.com [203.82.209.197]) by ozlabs.org (Postfix) with ESMTP id 6FCE1DDDE9 for ; Thu, 24 Jul 2008 11:43:53 +1000 (EST) Date: Thu, 24 Jul 2008 11:43:53 +1000 From: Tony Breeds To: ehrhardt@linux.vnet.ibm.com Subject: Re: [PATCH 2/6] kvmppc: add hypercall infrastructure - host part Message-ID: <20080724014352.GI20457@bakeyournoodle.com> References: <1216802207-32675-1-git-send-email-ehrhardt@linux.vnet.ibm.com> <1216802207-32675-3-git-send-email-ehrhardt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: <1216802207-32675-3-git-send-email-ehrhardt@linux.vnet.ibm.com> Cc: linuxppc-dev@ozlabs.org, embedded-hypervisor@power.org, hollisb@us.ibm.com, kvm-ppc@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jul 23, 2008 at 10:36:43AM +0200, ehrhardt@linux.vnet.ibm.com wrote: > From: Christian Ehrhardt Hi Christian, A few comments > diff --git a/arch/powerpc/kvm/emulate.c b/arch/powerpc/kvm/emulate.c > --- a/arch/powerpc/kvm/emulate.c > +++ b/arch/powerpc/kvm/emulate.c > @@ -203,6 +203,24 @@ > kvmppc_set_msr(vcpu, vcpu->arch.srr1); > } > > +static int kvmppc_do_hypercall(struct kvm_vcpu *vcpu) > +{ > + int ret = 0; > + > + switch (vcpu->arch.gpr[0]) { > + default: > + printk(KERN_ERR"unknown hypercall %d\n", vcpu->arch.gpr[0]); I think the preffered style is printk(KERN_ERR "...) You've made the same style mistake in most of you printk()'s in your other patches aswell. Yours Tony linux.conf.au http://www.marchsouth.org/ Jan 19 - 24 2009 The Australian Linux Technical Conference!