From: Scott Wood Subject: Re: [PATCH v3] KVM: PPC: e500mc: Enhance tlb invalidation condition on vcpu schedule Date: Tue, 17 Jun 2014 14:47:31 -0500 Message-ID: <1403034451.6603.788.camel@snotra.buserror.net> References: <1403032176-28362-1-git-send-email-mihai.caraman@freescale.com> <1403032706.6603.776.camel@snotra.buserror.net> <37af68eb6855437892a438eec213d788@BY2PR03MB508.namprd03.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: "kvm-ppc@vger.kernel.org" , "kvm@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" To: Caraman Mihai Claudiu-B02008 Return-path: In-Reply-To: <37af68eb6855437892a438eec213d788@BY2PR03MB508.namprd03.prod.outlook.com> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Tue, 2014-06-17 at 14:42 -0500, Caraman Mihai Claudiu-B02008 wrote: > > > -static DEFINE_PER_CPU(struct kvm_vcpu *, last_vcpu_on_cpu); > > > +static DEFINE_PER_CPU(struct kvm_vcpu * [KVMPPC_NR_LPIDS], > > last_vcpu_on_cpu); > > > > Hmm, I didn't know you could express types like that. Is this special > > syntax that only works for typeof? > > Yes, AFAIK. > > > No space after * > > Checkpatch complains about the missing space ;) Checkpatch is wrong, which isn't surprising given that this is unusual syntax. We don't normally put a space after * when used to represent a pointer. -Scott