lkml.org 
[lkml]   [2018]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/7] x86/kvmclock: Decrapify kvm_register_clock()
On Fri, 6 Jul 2018, Paolo Bonzini wrote:

> Decrapification went a bit too far...
>
> On 06/07/2018 18:13, Thomas Gleixner wrote:
> > - int cpu = smp_processor_id();
> > - int low, high, ret;
> > struct pvclock_vcpu_time_info *src;
> > + int cpu = smp_processor_id();
> > + u64 pa;
> >
> > if (!hv_clock)
> > - return 0;
> > -
> > - src = &hv_clock[cpu].pvti;
>
> ... the line above should not have been a "-". That, or initialize it
> in the declaration. Whoever applies can fix it, no need to repost.
> I'll test with the above fix.

Indeed.

\
 
 \ /
  Last update: 2018-07-06 19:40    [W:0.132 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site